Structured text language
35015365.01 07/2008 153
Instructions for tables and character strings
Instructions for
word tables and
double words
The following instructions are applied to word tables and double words.
Name Function
Table: = Table Assigning between two tables
Table: = Word Initializing a table
+, -, *, /, REM Arithmetic operations between tables
+, -, *, /, REM Arithmetic operations between expressions and tables
SUM Totaling the elements in a table
EQUAL Comparing two tables
NOT Logic complement for a table
AND, OR, XOR Logic operations between two tables
AND, OR, XOR Logic operations between expressions and tables
FIND_EQW, FIND_EQD Finding the first element equal to a value
FIND_GTW, FIND_GTD Finding the first element greater than a value
FIND_LTW, FIND_LTD Finding the first element less than a value
MAX_ARW, MAX_ARD Finding the maximum value in a table
MIN_ARW, MIN_ARD Finding the minimum value in a table
OCCUR_ARW, OCCUR_ARD Number of times a value occurs in a table
SORT_ARW, SORT_ARD Sorting a table in ascending or descending order
ROL_ARW, ROL_ARD Shifting a table to the left in a circular movement
ROR_ARW, ROR_ARD Shifting a table to the right in a circular movement
FIND_EQWP,FIND_EQDP Finding the first element from a rank equal to a value
LENGTH_ARW, LENGTH_ARD Calculating the length of a table