Important: The information in this document is obsolete and should not be used for new development.
Initialization Sequence
The startup code for enabling all available 2-byte script systems and script utility routines is in WorldScript II. WorldScript II is located in the Extensions folder; its file type is'scri'
and its creator is'doub'
.At system startup, all extension files in the Extensions folder are executed; script files are executed before all other extensions.
At startup, WorldScript II does the following:
- It gets the total number of international bundle (
'itlb'
) resources from the
System Folder.- For each bundle resource that belongs to a 2-byte script, WorldScript II
- creates a script record and copies the byte-type table from the script's encoding/rendering (
'itl5'
) resource into the script record- gets handles to all transliteration resources for that script and adds them to the script record
- initializes the script's script record, a private data structure that holds information and addresses pertinent to that script