Return to Statement


Verify Name Example

This example demonstrates the use of the ENUM statement to verify the occurrences of the &NAME, PART_EDGE.

$$
$$ Declarations
$$
ENTITY/LN(4)
LN(1)=LINE/-1,-1,1,-1
LN(2)=LINE/1,-1,1,1
LN(3)=LINE/1,1,-1,1
LN(4)=LINE/-1,1,-1,-1
&NAME(LN(1))='PART_EDGE'
&NAME(LN(2))='PART_EDGE'
&NAME(LN(3))='PART_EDGE'
&NAME(LN(4))='PART_EDGE'
ENTNUM=ENUM/'PART_EDGE'

The numerically valued variable ENTNUM is assigned the number 4.