Parent Topic: Language

INPUTA

The INPUTA statement allows the model to prompt the user for the source of attribute information to associate with a layer variable or a numeric array variable.

 Syntax:           INPUTA "text" %x ;
                   INPUTA "text" #x[];

 Example:   inputa "Enter source of tree attributes: " %tree;
            inputa "Enter segment number for array data: " #a[];
If a layer variable is used (i.e., %x) then if a number is entered there will be a check that this is TEXT (attribute), LUT, or PCT segment on the database file. If a file name is entered, then this is checked to ensure that this is an existing text file and that it contains valid attribute data.

If a numeric array variable is used (i.e., #x[]) then only a number can be entered and there will be a check to ensure that this is an array segment (type ARR:181) on the database file.


Parent Topic: Language
About PCI Help Gateway