Debugging Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Debugging - Commands >

Debugging Commands

DIP. - Delayed Instruction Processing

Previous Top Next


MiniRobotLanguage (MRL)

 

DIP. Command

Delayed Instruction Processing

 

 

Intention

 

 

These command is used to slow down script execution. The robot will pause after each line for the given amount of time in milliseconds (ms).

 

DIP.200 is a common used value.

 

You can switch off the slow-down with:

 

DIP.0

 

or simply

 

DIP.

 

These will make the script run with full speed. DIP. is used to slow down the whole script or parts of a script. If you experience problems running a script as executable (compiled script), while the script has worked fine from the Editor, try a DIP.250.

 

Generally we recommend to design scripts in a way that they run at full speed. However for debugging use, DIP. is a good choice.

 

 

 

Syntax

 

 

DIP.[number]

 

Parameter Explanation

 

P1 - (optional) NUM/VAR

  the given number is the amount of time in msec (Milliseconds =

  1/1000 th of a second), that the Script waits between the commands.

  This way the script execution is slowed down.

 

 

 

Example

 

'***********************************************

' DIP. - Sample

'***********************************************

 

'Switch on Slow Mode

DIP.450

 

' Switch off Slow Mode

DIP.

 

 

'***********************************************

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also:

 

 

    DBM. - DeBugMode

    DBP - Debug Print

    DBV. - Debug Print Variable

    DMP. - Dump internat Informations

    USM - Use silent Mode

    OPT. - Optional Settings

  PAU. - Pause