CHAIN – This command will process another script file. After the chained script file is executed, control will revert to the current file. Chained script files inherit the current database, filter and collection of variables. Changes inside a script file are not passed back to the calling script with the exception of variables that existed in the calling script. This means that their values can be modified by the chained script. The format is:

CHAIN ScriptPath;

- ScriptPath is the full path name of the script file that will be executed.

an example:

CHAIN C:\MYSUBS\WIDGETLARGE.SCR;