Return to Symbol


Attribute Name Display Example

This example demonstrates the use of the &ATTDIS GPA to control the attribute name display.

$$
$$ Declarations
$$
ENTITY/LN1,LN2,LN3,LN4
LN1=LINE/0,0,4,0
LN2=LINE/4,0,4,4
&ATTDIS=&YES
&NAME(LN1)='LINE ONE'
&NAME(LN2)='LINE TWO'
&ATTDIS=2
LN3=LINE/4,4,0,4
LN4=LINE/0,4,0,0
&NAME(LN3)='LINE THREE'
&NAME(LN4)='LINE FOUR'

The names of the first two lines will be displayed as they are assigned. In the first &ATTDIS statement, the GPA &YES was used. In the second &ATTDIS statement, the range value equivalent to the GPA &NO was used. These values are interchangeable. The names of the third and fourth lines will be assigned, but no names (including LN1 and LN2) will be displayed.