Important: The information in this document is obsolete and should not be used for new development.
The ItlbRecord Data Type
The structure of the standard international bundle resource, defined by theItlbRecord
data type, is as follows:
TYPE ItlbRecord = RECORD itlbNumber: Integer; {'itl0' ID number} itlbDate: Integer; {'itl1' ID number} itlbSort: Integer; {'itl2' ID number} itlbFlags: Integer; {script flags} itlbToken: Integer; {'itl4' ID number} itlbEncoding: Integer; {'itl5' ID number (optional)} itlbLang: Integer; {current language for script} itlbNumRep: SignedByte; {current numeral code} itlbDateRep: SignedByte; {current calendar code} itlbKeys: Integer; {'KCHR' ID number} itlbIcon: Integer; {ID of keyboard icon family} END;
Field Description
itlbNumber
- The resource ID of the numeric-format ('itl0') resource to be used by this script. The Script Manager initializes the script variable accessed through the selector
smScriptNumber
from this field.itlbDate
- The resource ID of the long-date-format (
'itl1'
) resource to be used by this script. The Script Manager initializes the script variable accessed through the selectorsmScriptDate
from this field.itlbSort
- The resource ID of the string-manipulation (
'itl2'
) resource to
be used by this script system. The Script Manager initializes
the script variable accessed through the selectorsmScriptSort
from this field.itlbFlags
- The bit flags that describe the features of this script system. The Script Manager initializes the script flags variable, accessed through the selector
smScriptFlags
, from this field. For example, you can set thesmsfAutoInit
bit in theitlbFlags
field to instruct the Script Manager to initialize the script system automatically. For definitions of the constants that specify the components of the script flags word, see the list of selectors for script variables in the chapter "Script Manager" in this book.itlbToken
- The resource ID of the tokens (
'itl4'
) resource to be used by this script. The Script Manager initializes the script variable accessed through the selectorsmScriptToken
from this field.itlbEncoding
- The resource ID of the encoding/rendering (
'itl5'
) resource to be used by this script system. The Script Manager initializes the script variable accessed through the selectorsmScriptEncoding
from this field. If there is no encoding/rendering resource for this script, this field is set to 0. This field was reserved in versions of system software prior to 7.0.itlbLang
- The language code specifying the default language for this script. The Script Manager initializes the script variable accessed through the selector
smScriptLang
from this field. See the chapter "Script Manager" in this book for a list of defined language codes.itlbNumRep
- The numeral code to be used by this script system. This byte specifies which types of numerals the script supports. The Script Manager initializes the high-order byte of the script variable accessed through the selector
smScriptNumDate
from this field. For definitions of the constants that specify numeral codes, see the list of selectors for script variables in the chapter "Script Manager" in this book.itlbDateRep
- The calendar code to be used by this script system. This byte specifies which types of calendars the script supports. The Script Manager initializes the low-order byte of the script variable accessed through the selector
smScriptNumDate
from this field. For definitions of the constants that specify calendar codes, see the list of selectors for script variables in the chapter "Script Manager" in this book.itlbKeys
- The resource ID of the preferred keyboard-layout (
'KCHR'
) resource to be used by this script system. The Script Manager initializes the script variable accessed through the selectorsmScriptKeys
from this field.itlbIcon
- The resource ID of the keyboard icon family (resource types
'kcs#'
,'kcs4'
, and'kcs8'
) for the default keyboard layout to be used with this script. The Script Manager initializes the script variable accessed through the selectorsmScriptIcon
from this field. (When loading a keyboard-layout resource, the Script Manager in fact ignores that variable and looks only for a keyboard icon suite whose ID matches that of the keyboard-layout resource being loaded.)