App.g-7, App.g – Yokogawa GC8000 Process Gas Chromatograph User Manual
Page 506

App.G-7
IM 11B08A01-01E
DP
Statement
Function
Displays the table list in the GCUD output window.
Format
DP_TABLELIST
Table list: Allows specifying variable name, array variable name, numerical value
and character string constant.
Explanation
(1) Items are separated by either a comma (,) or semicolon (;).
(2) Gives equation values in decimal numbers.
(3) The output content length of each item should be within 270 digits. The output
content length should be within 4096 bytes.
Error occurs when it exceeds the limit.
(4) A new line will take place each time the DP statement is executed and
completed.
(5) Some character string constants are enclosed within quotation marks.
(6) Output items of exponents cannot be used.
(7) Separators
(a) Semicolons (;)
The output element following the semicolon (;) will be displayed immediately
after the previous output element.
(b) Commas (,)
Since each line of the GCUD output window is partitioned with TAB, when
commas (,) are used as the separators, the following area is output.
Example:
DIM IC (3) AS INTEGER
DEFINT
IA,
IB
DP “IB value is”;IB
DP
IA,
IB
DP
IC(0),
IC(1)
END
END
Statement
Function
Shows the very end of the main program.
Format END
Explanation The END statement must always be declared at the very end of the main program.
Do not omit it.
When the very end of the main program does not have an END, the error “End is
required” will occur.
FOR/NEXT Statement
Function
Puts sequence of statements in the FOR to NEXT loop and repeats specifi ed
number of times.
Format
FOR variable = initial value TO fi nal value [STEP increment]
Statement
NEXT
variable
Variable:
Numeric
variable
Specify the same variables for FOR and NEXT as counter.
Initial
value,
fi nal value, increment:
Numerical value or numeric variable
If operations under STEP are omitted, the increment will be regarded as 1.
2nd Edition : May 11, 2012-00
App.G