ArmDef Function

Returns arm definition status.

Syntax
ArmDef (armNumber)

Parameters

armNumber
Specify the number of the arm that returns the status as an integer value.

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

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

ArmDef Function Example

Function DisplayArmDef(armNum As Integer)

   Integer i

   If ArmDef(armNum) = False Then
      Print "Arm ", ArmNum, "is not defined"
   Else
      Print "Arm ", armNum, " Definition:"
      For i = 1 to 5
        Print ArmSet(armNum, i)
      Next i
   EndIf
Fend