Dbgl
Conditional Statements
- ALWAYS <command list>
- IF <logical expression> THEN <command list>
- OTHERWISE ALWAYS <command list>
- OTHERWISE IF <logical expression> THEN <command list>
Logical Expressions
A logical expression is made up of one or more database expressions, arithmetic expressions or string expressions combined using various operators.
Database Expressions
- NO_MORE_DATA(DB)
- Logical. This function is true when the end of the database has been reached.
- CURRENT_RECORD(<record variable name>)
- True if the current record is specified as the argument.
- FIRST_RECORD(DB)
- FIRST_RECORD(RC)
- FINISHED_RECORD(RC)
- CHANGED_RECORD_TYPE(RC)
- INCLUSIVELY_BETWEEN(L1,L2)
- EXCLUSIVELY_BETWEEN(L1,L2)
- BETWEN_OR_AT(L1,L2)
- AT_OR_UNTIL(L1,L2)
- START_OF_RANGE(L1,L2)
- FINISHED_RANGE(L1,L2)
- INSIDE(REGION,X,Y)
- EDGE(REGION,X,Y)
- VERTEX(REGION,X,Y)