Important: The information in this document is obsolete and should not be used for new development.
IntlScript
TheIntlScript
function identifies the script system used by the Text Utilities date-formatting, time-formatting, and string-sorting routines. It also identifies the script system whose resources are returned by the Script Manager functionGetIntlResource
. It is either the font script--the script system corresponding to the current font of the active graphics port--or the system script.
FUNCTION IntlScript: Integer;DESCRIPTION
TheIntlScript
function returns a script code. All recognized script codes and their defined constants are listed on page 6-52.IntlScript
returns only explicit script
codes (\xD1 0).If the international resources selection flag is
TRUE
, the script code returned is that of the system script.If the identified script system is not enabled, the script code returned is that of the system script and the script-defaulted result flag is set to
TRUE
.SPECIAL CONSIDERATIONS
IntlScript
may move memory; your application should not call this function at interrupt time.