Statement syntax

A statement in EASI is the basic unit of operation. A statement consists of an optional line number, or line label, followed by a command. Note that line numbers and line labels may not appear on a line all by themselves, or on lines that are part of a multi-line statement (such as the ENDIF of an IF construct or the ENDFOR of a FOR loop). Normally each statement appears on its own line. Blank lines are also legal.

Example:

 run ivi  
 100 run ivi
 user_answered_yes: run ivi

Multiple lines can may be placed on the same line by separating the statements with a statement separator. The backslash and semi-colon characters can be used interchangeable for this purpose. A line of input may be almost any length.

Example:

 file = "$PCIHOME/demo/irvine.pix" \ run ivi
 file = "$PCIHOME/demo/irvine.pix" ; run ivi

It is also possible to split very long statements over multiple lines by placing a backslash character (but not a semi-colon!) at the end of each incomplete line.

Example:

 this_string = one_long_string + a_second_long_string + \
               another_long_string + a_really_long_long_string + \
               a_short_string

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.