Parent Topic: Language
Numeric variables:
Syntax: #x = arithmetic expression ; Example: #cost = %crop.2 * 1.5 + log10(%rain) ;Character variables:
Syntax: $x = character expression ; Example: $x = "ABCDEF" ;Layer variables:
The value assigned to the layer variable replaces its current value and will be written back to the PCIDSK database file. Note that the layer value is a real value until it is actually written to disk, at which time it is converted to the type the channel has on disk.
Syntax: %x = arithmetic expression ; Example: %3 = %crop.2 * 1.5 + log10(%rain);Note: assignment cannot be made to numeric array variables. These are read only, getting their contents from array segments held on PCIDSK database files.