Processing tables test the conditions to see if the action should be carried out. When conditions are tested, they are either true or false.
If the condition is true, the action is carried out. If the condition is false, the program falls through that "then" line without executing it to the next "if" line.
If the condition line ("if") is blank, the action line ("then") will be carried out.
Ingredients
Fields
Real fields
Dummy fields
System-maintained fields
Associated fields
Literals
Text or numbers must be enclosed in quotes.
Two quotation marks together ("") means null (nothing or blank)
/SConnectives AND, both conditions must be true
OR, either conditions must be true
Negate (NOT) Statements
NOT "not this", negates an expression
Relationship codes
EQ or equals
NE not equal
GT is greater than
GE is greater than or equal to
LT is less than
LE is less than or equal to
CO contains
XxF compare two fields
Punctuation
"n" |
Literals |
( ) |
Groups parts of a condition |
' |
Remark ~ |
; |
Command separator |
: |
to assign aliases (and overlay arrays) |
To write more than one action on a line, separate each action with semicolons.
Math Operators
+ |
Add |
- |
Subtract |
* |
Multiply |
3 / |
!. |
Text Operators
& |
Join |
< |
Push left, and add one space |
{ |
Squeeze left, with no space |
Lookup file names - test if lookup is successful
If:
Then: lookup filename
If: not filename
Then: show "Not on File"
Labels - if conditions on that line are met
Example 1
past If: "complicated selection"
Then: "complicated action, too long to fit on one line)
If: past
Then: "rest of action"
Example 2
pastIf: "complicated selection, too long to fit on one line"
If: past connective "rest of selection"
Then: "action"
Selection set names - if specified conditions are met
If: current
Then: "action"
Where "current" is a saved selection set
Actions ("then lines")
What the program does if the "if" condition is found to be true or blank.
Actions contain:
expressions or assignments
commands