10-16 2000-OSM, F1
Comments: temperature! is the temperature to convert to a time.
time_vs_bp_table% is the Time vs. Boiling Point Table (1-8) to use for the
conversion.
Example: 0010 TIME! = TEMP_TO_TIME(212.0,1)
Returns the time that 212.0 degrees occurred.
GET TIME VS. BOILING POINT TABLE Command
Description: Returns one of the eight Time vs. Boiling Point Tables (Sim Dis analyzers only).
Syntax: GET_TVSBP_TBL(array!,table%)
Comments: array! is a previously dimensioned array that is the destination of the Time
vs. Boiling Point Table.
table% is the table number (1-8).
Example: 0010 N = LEN_TVSBP_TBL(1)
0020 DIM A!(N)
0030 GET_TVSBP_TBL(A!,1)
Gets the size of the Time vs. Boiling Point Table, dimensions an array to
hold it, copies the table into array A!.
GOTO Statement
Description: Branches to a numbered statement.
Syntax: GOTO line
Comments: line is the statement number to branch to.
Example: 0010 GOTO 30
0020 END
0030 30 LPRINT "BYE"
Skips statement 20 by branching to statement 30, prints BYE, then ends
executions.
GO TO SUBROUTINE Statement
Description: Branches to subroutine.
Syntax: GOSUB line
RETURN
Comments: line is the statement number for the subroutine.
Example: 0010 GOSUB 100
0020 END
0030 100 RETURN
Branches to subroutine at statement 100. Subroutine returns execution at
statement 20 which ends execution.
HARDWARE ALARM Function
Description: Returns the state of GCC Hardware Alarms.
Syntax: HARDWARE_ALARM
Example: 0010 IF HARDWARE_ALARM GOTO 100
HIGH CONCENTRATION ALARM Function
Description: Returns the state of GCC High Concentration Alarms.
Syntax: HIGH_CONC_ALARM
Example: 0010 IF HIGH_CONC_ALARM GOTO 100