Alarm, Alen, Alarm alen – Visara Master Console Center Scripting Guide User Manual
Page 70
![background image](https://www.manualsdir.com/files/808700/content/doc070.png)
Chapter 5 Script Commands
Scripting Guide
70
ALARM
Syntax:
ALARM( %Operation)
Description:
Generates a repetitive alarm tone (beep) at the MCC terminal.
Action:
The tone beeps once per second and continues until turned off with the
ALARM( OFF) command.
Parameters:
%Operation. Numeric expression. ON activates the tone and OFF
deactivates the tone.
Returns:
N/A.
Notes:
1. Refer to Manifest Constants on page 42 for information on the
constants reference list.
2. Once activated, only the ALARM( OFF) command deactivates the
beeping tone.
Example:
ALARM( ON)
//turn the alarm on
WAITFOR( 30)
//sound the alarm for 30 seconds
ALARM( OFF)
//turn the alarm off
See Also:
ALEN
Syntax:
ALEN( Array) ==> %Elements
Description:
Returns the number of elements in the array.
Action:
The number of elements in the specified array is returned.
Parameters:
Array. Array variable. The array to count the number of elements.
Returns:
Numeric value. The number of elements in the array.
Notes:
Example:
%Num := ALEN( $Lpars)
See Also: