Parent Topic: Language

Sections

The statements and comments which make up a model are divided up into the following sections:

The `Setup' section sets up the processing environment. This includes: prompting the user for any required data; associating attribute data with image channels (layers); and printing messages to the user's screen. This section is executed once before any processing is done. The following types of statements can be included in the `Setup' section: COMMENTS, INPUT, INPUTA, SET, SETA, and PRINT.

The `Equations' section defines the processing that should be done. This section is applied to each pixel in the database. For example: if the database has dimensions 512 by 512, then the equations section would be executed 262144 times. The following types of statements can be included in the `Equations' section: COMMENTS, ASSIGNMENT, IF, GOTO, LABEL, and STOP. Each time this section is applied, numeric variables are reset to the value entered from an INPUT statement or to zero. Character variables are also reset to values entered or to the empty (null) string.

The `Report' section defines the type of report that should be generated based on the accumulated results of the modelling equations. This section is executed once. The following types of statements can be included in the `Report' section: COMMENTS, TITLE, and REPORT.

When MODEL program is run, the following steps are followed.

    THIS IS THE STEP WHICH TAKES ALMOST ALL THE PROCESSING TIME.

Parent Topic: Language
About PCI Help Gateway