TillOn Method

Description
Returns True if a stop has occurred from a till condition during the last Go/Jump/Move statement.

Syntax
Function TillOn () As Boolean
Return Value

True if the robot stopped due to a Till condition, False if not.

Remarks
Use TillOn to check if the Till condition turned on during the last motion command using Till.
TillOn is equivalent to
((Stat(1) And 2) <> 0)

See Also
Jump Method, Till Method

TillOn Example
VB Example:

If m_spel.TillOn() Then  
    m_spel.Jump(2)  
End If  

C# Example:

if (m_spel.TillOn())  
    m_spel.Jump(2);