Mathematical and algorithmic operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Miscellaneous commands >

Mathematical and algorithmic operations

STF. - Set TimeOut Flag

Previous Top Next


MiniRobotLanguage (MRL)

 

STF. Command

Set TimeOut Flag

 

 

Intention

 

The STF.-Command can be used to manually set the timeout flag to simulate a timeout condition.

 

' This will set the timeout-flag

STF.1

 

' This will clear the timeout-flag

STF.0

 

There are two Systemvariables, representing the state of the timeout-flag:

 

#tio#   -       Timeout-Flag

#til#   -       Timeout-Line-Number

 

 

 

Syntax

 

 

STF.P1

 

 

Parameter Explanation

 

P1 - (optional) VAR or number.If omitted, the timeout-flag

     will be cleared.

 

 

 

 

Example

 

' This will set the timeout-flag

STF.1

 

' This will clear the timeout-flag

STF.0

 

 

 

Remarks

 

There are two Systemvariables, representing the state of the timeout-flag:

 

#tio#   -       Timeout-Flag

#til#   -       Timeout-Line-Number

 

 

 

Limitations:

 

 

 

 

See also:

 

    1.6.1. Program Flow Control

    JIT. - Jump if TimeOut

    JNT. - Fump If-No TimeOut

    ITO. / NTO. - If TimeOut

    3.1 Systemvariables