Logic Command Usage

Statement termination

Logic statements are terminated with a newline or colon (':') start-of-comment character.

A backslash ('\') can be used as a continuation character, to denote that the current logic statement is extended on the next line. Any characters following the continuation character are ignored and discarded when the logic is saved. There is no limit on the number of lines that a logic statement can extend over. The last line that is not terminated with a continuation character is parsed as the end of the logic statement.

String literals cannot be extended over multiple lines. However, they can be broken over multiple lines, and combined with continuation characters and string concatenation operators ('&').

Comments

Comments are denoted using a colon (':') preceding the comment text. Comments can be denoted at the end of a logic statement, or on a separate line. Do not follow a comment character ‘:’ with an ‘=’ (equals) character (ending up as ‘:=’) as the parser might mistake it for an assignment operator.

Whitespace

Whitespace indicators are omitted from railroad diagrams in order to reduce their complexity. However, in general, all operands must be separated from other operands, logic command names, and command options by at least one (1) whitespace character.

Within an expression, whitespace is optional as the operands are already separated from each other by operators. However, where unary operators ('-' and '+') are used, they must be preceded either by comma (','), left parenthesis ('('), or a non-alphabetic operator (operators such as 'NOT' must be surrounded by whitespace).

Compound operators such as ':=' cannot be interrupted by whitespace.

Whitespace characters are:

Hyphens

Hyphens ('-') are restricted to use as either unary or binary minus operators. They cannot be used as part of a name.

Case sensitivity

Logic command names and command options are not case sensitive.

Reserved words

The words This, Super, Owner and Component are reserved words in Agile Business Suite. Logic command names and command options only bear their language-defined meaning within context.