%SCR_PROCESS

Compile a script file into the open window library

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

status = %SCR_PROCESS(script)

or

xcall SCR_PROCESS(script)

status

True if successful; false if not. (^VAL)

script

The name of the window script file to compile. (a)

The %SCR_PROCESS function compiles the specified script file into the window library that was opened by %SCR_OPENLIBRARY. If ISAMC_REV is set to 4 when the program that calls %SCR_PROCESS is started, window libraries that this routine compiles will work with Synergy 9.5.3 and higher. If ISAMC_REV is not set (or is set to 6), the window libraries that this routine compiles will work with Synergy 10 and higher.

If script does not specify an extension, it defaults to .wsc.

If any errors occur (including no open library file, errors opening the script file, or syntax errors in the script), the error information is sent to the ESCRIPTERR_METHOD before this routine returns. (If Script cannot save to the window library, Script waits two seconds and tries again to save. Script attempts this ten times before displaying a message and prompting you again for a filename.)