
2000-OSM, F1
10-31
RESET TIME LIMIT Command
Description:
Resets BASIC’s time limit allowing the program more time to execute
(Sim Dis analyzers only).
Syntax:
RESET_TIME_LIMIT
Example:
0010 FOR I = 1 TO 10000
0020 NEXT I
0030
RESET_TIME_LIMIT
The time limit is reset to allow the program to continue executing past the
normal
time
limit.
SENSOR ALARM Function
Description: Returns
the
state of GCC Sensor Alarms.
Syntax:
SENSOR_ALARM
Example:
0010 IF SENSOR_ALARM THEN LPRINT
0020
:“ALARM”
SET BASIC ALARM Function
Description:
Sets up to 16 different user-named alarms.
Syntax:
SET_BASIC_ALARM(alarm%)
Comments:
alarm%
is the alarm number (1-16). After you set an alarm, you can assign
it a name from the Sensor screen on the analyzer.
Example:
0010 SET_BASIC_ALARM(12)
SET BASIC COMPONENT ALARM Function
Description:
Sets up to eight different user-named component alarms.
Syntax:
SET_BASIC_COMP_ALARM(method%,component%,alarm%)
Comments:
method%
is the method table (1-8).
component%
is the component number.
alarm%
is the alarm number (1-16). After you set an alarm, you can assign
it a name from the Sensor screen on the analyzer.
Example:
0010 SET_BASIC_COMP_ALARM(2)
SPACE Function
Description:
Returns a string containing the specified number of blank characters.
Syntax:
SPACE(length%)
Comments:
length%
is an integer from 1 to 128.
Example:
0010 LPRINT "A",SPACE(10),“B”
The following appears at the printer (has 10 spaces between letters):
A B
SQUARE ROOT Function
Description:
Returns the square root of a floating point expression.
Syntax:
SQRT(fp!)
Comments:
fp!
is a floating point expression.
Example:
0010 A! = SQRT(A!*100.)
The square root of the quantity 100 times the value of floating point variable
A! is assigned to floating point variable A!.