124 | PGC5000 GEN 2 | 892 J006 MNAH
7.4.19 DEACTIVATE STREAM command
Description: Sets the state of a Stream to OFFLINE. Makes all uses of the Stream in the Schedule
INACTIVE.
Syntax: DEACTIVATE_STREAM( stream$ )
Comments: stream$ is a string variable (or constant) containing the stream name of the stream to
be deactivated.
Example: 0010 DEACTIVATE_STREAM( “CalStrm1” )
7.4.20 DIM statement
Description: Allocates storage for an array of variables.
Syntax: DIM variable(extent)[,variable(extent)]....
Comments: variable is the variable name of the array.
extent is the number of elements in the array.
Notes: Only one dimension is allowed.
Array subscripts must be from 1 to the array dimension (extent).
To use a variable as an array, it must be declared before use in the DIM statement.
Example: 0020 DIM A(N_COMP(1)),B$(10),C%(50)
This statement declares an array A of floating point variables with as many elements
as there are components in analysis 1, array B$ of 10 strings, and array C% of 50
integer variables.
7.4.21 END statement
Description: Indicates that program execution is complete.
Syntax: END
Comments: END is a statement that may appear anywhere in the program; if not, it is implied to
follow the last statement of the program.
Example: 0010 IF ALARM( FLAME_OUT ) THEN
0020 END
0030 ENDIF
For this example, when an alarm condition exists, program execution terminates.
7.4.22 END REPORT statement
Description: Terminates a report group for sending to Reporter. All LPRINT content is grouped
together in one block starting with the START_REPORT statement.
Syntax: END_REPORT
Example: see START_REPORT
7.4.23 EXPECTED RETENTION TIME function
Description: Returns the component’s expected retention time.
Syntax: EXPECTED_RT( component$ )
Comments: component$ is a string variable (or constant) containing the component name.
Example: 0010 A = EXPECTED_RT( “Methane” )
Gets the expected retention time of component named Methane and assigns it to
floating point variable A.
7.4.24 EXPONENT function
Description: Returns e (i.e., 2.71828) raised to the power of the floating point expression.
Syntax: EXP( fp )
Comments: fp is a floating point expression.
Example: 0010 A = EXP( T )