Checking and Modifying Script Manager Global and Local Variables
provide ways to inspect and change global and local variables. (Global variables
are for the Script Manager, and local variables are for the script systems.) now accept implicit script codes listed in the section entitled,
System 7.0 also includes new verbs for all four functions. A verb is an
integer constant that controls the function of a multipurpose routine; in this
case, the Script Manager uses verbs to figure out which variable you want to read or set. The new verbs let you set and retrieve font and style
information, determine if a double-byte script system is installed, determine
the current region code, and obtain a pointer to the current 'KCHR' resource.
The verbs are listed in the Tables in the two additional sections called,
GetScript Retrieves the local variables and routine vectors maintained for the specified script
SetScript Sets the local variables and routine vectors maintained for the specified script
GetEnvirons Retrieves the global variables maintained for all scripts
SetEnvirons Sets the global variables maintained for all scripts