Instruction Manual
    <Appendix G User Program>
App.G-4
IM 11B08A01-01E
2. Syntax
The following explains the functions, statements and commands supported by the GC8000 user 
script.
•  Functions perform specifi c operations for numerical values and other inputs, and return 
values as results. 
  Functions always use the right side of the assignment expressions; entry on the left side is 
not possible.
•  Statements are commonly used commands in normal programs.
•  Commands are specifi c to GC8000 and are used to read data into GC8000 main unit and to 
change settings.
When actually entering data, comply with the following rules.
1.  Uppercase alphabetic characters, parenthesis, and the symbol “@”can be entered directly. 
2.  Up to 126 characters can be entered in a line.
3.  Enter a space for an underscore (_). Do not omit it. 
4.  In case of functions 
  Enter mathematical equations or character string expressions in lowercase alphabetic 
characters. 
  Numeric constants and numeric variables are included in mathematical equations. Only 
character string constants are included in character string expressions. When entering a 
character string, type quotation marks (“ ”) before and after the character string. Depending 
on the function, the range and content that can be described will differ.
5.  In case of commands and statements
  Items in Chinese characters and lowercase alphabetic characters are entered in numerical 
values, numeric variables or character strings. 
  When entering a character string, type quotation marks (“ ”) before and after the character 
string.
6.  Items enclosed in square brackets are additional items and can be omitted.
  It is not required to enter square brackets “[” and “]” in the actual entry. 
    Example:  DATA constant [, constant, ….]
        Constants from the second onwards can be omitted. 
2.1 Functions
Constants supported by GC8000 user script are shown in Table 3.
Table 3  List of functions
No. Function Format
1 ABS
2 DIV
3 EXP
4 LOG
5 MOD
6 SQR
Regarding to function content, see the following.
ABS  Function
Function  Gives absolute value.
Format ABS (x)
 x: Equation
Explanation  Gives absolute value of x.
2nd Edition : May 11, 2012-00










