Parent Topic: Variables
Attribute Variables
Attribute variables are identified by the leading character `%' and a '.'. Attribute variables take on the value of an attribute associated with the layer through the grey level value. For example, %2.3 would be evaluated as follows: at the current pixel location, the grey level value for the second image channel would be used as a key to a single line of attribute data associated with the layer; within this line, the list of attributes would be scanned and the third attribute value extracted; %2.3 would take on this value. Note that this value could be numeric or character depending on the actual nature of the attribute.

 Syntax:    %x.i, %n.i

 Examples:  %slope.2, %5.3

Parent Topic: Variables
About PCI Help Gateway