120 | PGC5000 GEN 2 | 892 J006 MNAH
15. Select the Save icon or the Save As icon to save the modified analysis.
7.2.3 Add a line to a script
The Insert Line icon adds a new statement to the script. When a line is added to the script, it is
inserted above the current selected statement. If no statement is selected, the statement is added
after the last statement in the script. When adding a statement to the script, the new statement
becomes the currently selected statement. If a statement is inserted within the script, the line
numbers are updated.
To add a line (see Figure 7-1):
1. Select a line by pressing the number button on the left. The new line will be inserted above this
line.
2. Select the Insert Line icon.
3. Insert the desired script in the blank line.
4. Select the Save icon to save the modified script or select the Save As icon to save it as a new
script.
7.2.4 Delete a line from a script
To delete a line from a script:
1. Select the line by pressing the number button on the left.
2. Select the Delete Line icon.
3. Select the Save icon to save the modified script or select the Save As icon to save it as a new
script.
7.2.5 Copy a line in a script
To copy a line in a script:
1. Select the line by pressing the number button on the left.
2. Select the Copy Line icon.
3. Identify the location where you want to copy the line.
4. Select the line below the desired location by pressing the number button on the left.
5. When the blank line appears, select the Paste Line icon.
6. Select the Save icon to save the modified script or select the Save As icon to save it as a new
script.
7.3 Operators
The following operands are available for use in the scripting language:
Precedence “(“ Floating “<>” // Comparison
Precedence “)” Floating “<” // Comparison
Floating “=” // Assignment Floating “>” // Comparison
Floating “+” Floating “<=” // Comparison
Floating “-“ Floating “>=” // Comparison
Floating “*” String “=” // Comparison
Floating “/” String “<>” // Comparison
Boolean “AND” String “+” //Concatenate
Boolean “OR” String “=” //Assignment
Floating “=” // Comparison
7.4 Script functions alphabetic listing
7.4.1 ABSOLUTE VALUE function
Description: Returns the absolute value of a floating point expression.
Syntax: ABS ( fp )
Comments: fp is a floating point expression.
Example: 0010 A = ABS( A )
Takes the absolute value of the expression stored in variable A and assigns it to
variable A.