Appendix g user program, App.g-1, Basic syntax rule – Yokogawa GC8000 Process Gas Chromatograph User Manual
Page 500: App.g

App.G-1
IM 11B08A01-01E
Appendix G User Program
User programming card option is necessary for this function.
1. Basic Syntax Rule
1.1 Texts and Lines
The script program consists of several lines. A line consists of text which starts either a statement
or label, and the end of the line (page break).
Length of one line (maximum number of enterable characters)
A line ends when the maximum number of one-byte characters of 126 or maximum number of
enterable characters have been entered, or by hitting the return key.
Labels
Labels are used in cases such as a program divergence.
Example: GOTO
DISP@
…
DISP@DP”A”
Labels are indicated by upper case alphabets or numerals added with @.
Following a label, texts are described at the end of the line or after a one-byte space.
Description of Texts
Upper case alphabets are used for the characters to describe statements in a text.
In cases where statement, labels, variables and constants are lined together, they must be
separated by a one-byte space.
A line cannot contain more than two complex sentences.
Example:
[Wrong]
IFA = lTHEN
GOTO
DISP@
ENDIF
[Correct]
IF_A = 1_THEN
GOTO_DISP@
ENDIF
(The underscore (_) is a one-byte space)
1.2 Character Set
Usable characters are one-byte alphanumeric characters and special characters.
Kana or Chinese characters cannot be used.
• Alphabets: Upper case - ABCDEFGHIJKLMNOPQRSTUVWXYZ
Lower case - abcdefghijklmnopqrstuvwxyz
Lower case can be used for DP statements and comments.
• Numerals:
0123456789
• Special characters:
(one-byte space) !”# $%”( )*+,–./:;<=>?@[\]{}−|
2nd Edition : May 11, 2012-00
App.G