(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/locale.h>

STRPTR GetCatalogStr (catalog , stringNum , defaultString)

LOCATION
In LocaleBase at offset 12

SYNOPSIS
struct Catalog * catalog
LONG stringNum
STRPTR defaultString

FUNCTION
This function will return the string specified by the stringNum from the given message catalog, or the defaultString if the string could not be found.

If the catalog == NULL, then the defaultString will also be returned.

INPUTS
catalog
Message catalog to search. May be NULL.
stringNum
ID of the string to find.
defaultString
String to return in case catalog is NULL or string could not be found.

RESULT
A pointer to a READ ONLY NULL terminated string. This string pointer is valid as long as the catalog remains open.

EXAMPLE

SEE ALSO
OpenCatalog(), CloseCatalog()

NOTES

BUGS

INTERNALS

HISTORY
26.11.1998 iaint
Fixed a large number of errors. Even compiles now. Doesnt work though...
20.10.1998 hkiel
Amiga Research OS
16.08.1998 iaint
Initial - not working - locale.library. mmf.s is the meta makefile