GEOS SDK TechDocs
|
|
3.2 Evaluating a Token Sequence
ParserFormatExpression()
The routine
ParserFormatExpression()
is passed a token buffer; it returns a character string. The formatter uses the localization routines to format numbers. The formatter also formats error codes as appropriate error messages. These error messages are stored in a localizable resource, so the formatter library will produce error messages in the appropriate language.
If the formatter encounters a token ID or an external function ID, it will call the callback routine to find out what character sequence is associated with that ID number. If it encounters an application-defined error code, it will request an appropriate error string. Applications should store these error strings in localizable resources; this will simplify translating the application into another language.
GEOS SDK TechDocs
|
|
3.2 Evaluating a Token Sequence