Start – Visara Master Console Center Scripting Guide User Manual
Page 192
![background image](https://www.manualsdir.com/files/808700/content/doc192.png)
Chapter 5 Script Commands
Scripting Guide
192
START
Syntax:
START( ScriptName( Parms)[, %Class[, $Name]])
Description:
Initiates execution of another script for concurrent processing.
Action:
The specified script executes in parallel with other script(s) that are
currently running (multitasking).
Parameters:
ScriptName. Script name, literal, or a string expression (including
string variables). Name of the script to execute. For a literal, explicitly
state the name of the script to execute. For a string expression, the
name of the script is derived from the evaluation of the string
expression, e.g. “myscript” or $MyScript. The parentheses after the
literal or variable are required; they may optionally contain
parameters (numeric or string variables or arrays) to pass to the script.
%Class. Numeric expression. Optional. The icon class. Refer to Icon
Class/Icon Name on page 29 for more information.
$Name. String expression. Optional. The icon name. Refer to Icon
Class/Icon Name on page 29 for more information.
Returns:
N/A
Notes:
1. Refer to Manifest Constants on page 42 for the constants reference
list.
2. If Class and Name are not specified, the new script will default to
the same Class and Name as the current script.
3. Script names are case sensitive, so that calling “MYSCRIPT” is not
the same as calling “Myscript”. We recommend using all lower case
characters for script names, so that the name of the script is the
same as the name of the physical script file on disk. In that case, a
call to “myscript” actually calls a script on the disk named
myscript.scx).
Example:
//Example showing the script name as a literal
START( OtherScr( %Num, $Str, $StrArray))
LOG( LOG_FLT, “Simultaneous operation started”)
//Example showing the script name as a literal
START( IPLSYSA())
//Example showing the script name in a string variable
$ScriptName := “IPLSYSA”
START( $ScriptName())
See Also: