892 J006 MNAH | PGC5000 G EN 2 | 121
7.4.2 ACTIVATE STREAM command
Description: Sets the state of a Stream to ONLINE. Makes all uses of the Stream in the Schedule
ACTIVE.
Syntax: ACTIVATE_STREAM( stream$ )
Comments: stream$ is a string variable (or constant) containing the stream name of the stream to
be activated.
Example: 0010 ACTIVATE_STREAM( “CalStrm1” )
7.4.3 ACTUAL RETENTION TIME function
Description: Returns the component’s actual retention time.
Syntax: ACTUAL_RT( component$ )
Comments: component$ is a string variable (or constant) containing the component name.
Example: 0010 A = ACTUAL_RT( “Methane” )
Gets the actual retention time of component named Methane and assigns to floating
point variable A.
7.4.4 ANALYSIS NAME function
Description: Returns the method for the stream that has just been analyzed.
Syntax: ANALYSIS_NAME$
Example: 0010 A$ = ANALYSIS_NAME$
7.4.5 ASC function
Description: Returns the ASCII code value for a character.
Syntax: ASC( string$ )
Example: 0020 CKS = 0
0030 REM CALCULATE CHECKSUM OF A$
0040 FOR J = 1 TO LEN( A$ )
0050 CKS = CKS + ASC( MID$( A$, J , 1 ) )
0060 NEXT J
7.4.6 BENCHMARK CONCENTRATION function
Description: Returns the component’s benchmark concentration.
Syntax: BENCHMARK_CONCENTRATION( component$ )
Comments: component$ is a string variable (or constant) containing the component name.
Example: 0010 A = BENCHMARK_CONCENTRATION( “Methane” )
Gets the benchmark concentration of component named Methane and assigns to
floating point variable A.
7.4.7 BPRINT statement
Description: Functions identically to LPRINT except BPRINT converts numeric values into a string
and places it in a string variable. See LPRINT statement for all options.
Syntax: BPRINT TO string var$ [USING format$;][expression list]
Comments: string_var$ is a string variable.
format$ is a string constant or string variable whose value specifies the format for
conversions as defined for LPRINT.
Example 1: 0010 BPRINT TO A$ USING “%3D;” 0,-1, 10,100
Puts the following into A$: 000 0-1 010 100
Example 2: 0010 BPRINT TO A$ USING “%9.2R;”-0.12,100.23
Puts the following into A$: - 0.12 100.23