LocalDef Function

Returns local definition status.

Syntax
LocalDef (localCoordinateNumber)

Parameters

localCoordinateNumber
Specify the local coordinate system number (an integer from 1 to 15) for which the status is to be returned.

Return Values
True if the specified local has been defined, otherwise False.

See Also
Arm Statement, ArmClr Statement, ArmSet Statement, ECPSet Statement, Local Statement, LocalClr Statement, Tool Statement, TLClr Statement, TLSet Statement

LocalDef Function Example

Function DisplayLocalDef(localNum As Integer)

   If LocalDef(localNum) = False Then
      Print "Local ", localNum, "is not defined"
   Else
      Print "Local 1: ",
      Print Local(localNum)
   EndIf
Fend