 Autodocs Libraries:
locale.library --environment_vars-- --rexxhost-- --structures-- CloseCatalog CloseLocale ConvToLower ConvToUpper FormatDate FormatString GetCatalogStr GetLocaleStr IsXXXX OpenCatalogA OpenLocale ParseDate StrConvert StrnCmp Include GuruMeditation
|
Docs » Autodocs » locale.library » GetCatalogStr
GetCatalogStr -- get a string from a message catalog. (V38)
string = GetCatalogStr(catalog,stringNum,defaultString); D0 A0 D0 A1 STRPTR GetCatalogStr(struct Catalog *,LONG,STRPTR);
This function returns a specific string within a message catalog. If the catalog parameter is NULL, or the requested message does not exist, then defaultString is returned.
catalog - a message catalog as obtained from OpenCatalog(), or NULL stringNum - a message number within the catalog defaultString - string to return in case "catalog" is NULL or "stringNum" can't be found
string - a pointer to a NULL-terminated string. The returned string is READ-ONLY, do NOT modify! This string pointer is valid only as long as the catalog remains open.
OpenCatalogA(), CloseCatalog()
|