126 | PGC5000 GEN 2 | 892 J006 MNAH
Comments: IndicatorGroup$ is a string variable (or constant) containing the name of the indicator
group.
Example: 0010 FLAMEOUT = 16384
0020 IF INDICATOR( “Oven1.DTM1.FID.1”, FLAMEOUT) THEN
0020 LPRINT( “Flame Out!” )
0030 ENDIF
7.4.30 INJECT TIME function
Description: Returns a string with the sample inject date and time using the same format as TIME$.
Syntax: INJECT_TIME$
Example: 0010 A$ = INJECT_TIME$
String variable A$ gets inject time and date for the current analysis report.
7.4.31 INTEGER TYPE conversion routine
Description: Returns the integer value of an expression.
Syntax: INT( fp )
Comments: fp is a floating point expression.
Example: 0010 I = INT( A )
Converts the value of floating point variable A to an integer and assigns it to integer
variable I.
7.4.32 LENGTH function
Description: Returns the number of characters in a string.
Syntax: LENGTH( string$ )
Comments: string$ is any string expression.
Example: 0010 A$ = “1234567890”
0020 N = LENGTH( A$ )
Variable N gets the number of characters (10) in string variable A$.
7.4.33 LOGARITHM BASE TEN function
Description: Returns the Logarithm to base ten of an expression.
Syntax: LOG( fp )
Comments: fp is a floating point expression.
Example: 0010 A = LOG( 10.123 )
The logarithm to base ten of 10.123 is assigned to floating point variable A.
7.4.34 LPRINT statement
Description: Prints to the line printer.
Syntax: LPRINT [USING format$;][expression[,expression]...]
Comments: format$ is a string constant or variable that specifies the printout format
Note: Start/End Report is required to obtain output from LPRINT (see Start Report).
7.4.35 MID$ function
Description: Return a substring of a string
Syntax: MID$( “ABCDEFGHIL”, 2, 3)
Comments: first parameter is a string
second parameter is index to start substring
third parameter is length of substring
Example: 0010 A$ = MID$( “ABCDEFGHIL”, 2, 3)