HomeDef Function

Returns whether home position has been defined or not.

Syntax
HomeDef

Return Values
True if home position has been defined, otherwise False.

See Also
HomeClr, HomeSet

HomeDef Function Example
This example uses the HomeDef function in a program:

Function DisplayHomeSet

   Integer i

   If HomeDef = False Then
      Print "Home is not defined"
   Else
      Print "Home values:"
      For i = 1 To 4
         Print "J", i, " = ", HomeSet(i)
      Next i
   EndIf
Fend