beautypg.com

Stop – Visara Master Console Center Scripting Guide User Manual

Page 193

background image

Chapter 5 Script Commands

Scripting Guide

193

STOP

Syntax:

STOP( ScriptName[, %Class [, $Name]])

Description:

Halts execution of a script.

Action:

Execution of the specified script is canceled.

Parameters:

$ScriptName. String expression. Name of the script to cancel

execution. Use an asterisk “*” to specify all scripts.
%Class. Numeric expression. Optional. The icon class. Refer to Icon

Class/Icon Name on page 29 for more information. Use ALL to specify

all classes.
$Name. String expression. Optional. The icon name. Refer to Icon

Class/Icon Name on page 29 for more information. Use an asterisk “*”
to specify all icon names.

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 script to cancel must be

executing on the same Class and Name as the script that contains

the STOP() command.

3. The script that contains the STOP() command will not be canceled.

Example:

//cancel the “MVSIPL” script
STOP( “MVSIPL”)
//cancel all 3090 CPU scripts
STOP( “*”, CPU, “3090”)
//cancel all scripts everywhere
STOP( “*”, ALL, “*”)

See Also:

START