Variable Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Variable Definitions and Operations >

Variable Commands

VAP. -  Variable-Point

Previous Top Next


MiniRobotLanguage (MRL)

 

VAP. Command

VAriable Point

 

 

Intention

 

This command can be used to assign Point-Coordinates to a Variable-name.

 

It is possible to use calculations if they are enclosed in brackets.

 

Point Coordinate-variables can be used in most Mouse-Actions,

like MPO., MMV., MLC.  and many more etc.

 

If you want to assign a zero coordinate, just leave the data part empty:

 

VAP.$$POI=

DBP.$$POI

END.

' Will assigne 0,0 to the variable $$POI

 

 

 

 

 

Syntax

 

VAP.[P1]=[P2,P3]

 

 

Parameter Explanation

 

P1 - Variable-name

 

P2 - X- Coordninate

 

P3 - Y- Coordninate

 

 

Speed in Ticks:

 

This command uses typically between 90 to 200 Ticks.

 

Example

 

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

'  VAP. - Sample

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

VAP.$$MYP=12,13

MMV.$$MYP

' We make 4 mousemoves

FOR.§§IVA|1|200|50

VAP.§§KOR=(100+§§IVA*2),(-13+(2*§§IVA))

PAU.1

' relative mousemoves

MMV.$$MYP

MMV.r|§§KOR

NEX.

END.

 

 

 

Remarks

 

-

 

 

 

Limitations:

 

-

 

 

See also:

 

    VAB. - Variable Binary

    VAC. - Variable reCt

    VAN. - Variable Numeric

    VAO. - Variable Once

    VAP: - Variable Point

    VAR. - Variable Set Value/Clear

    VAS. - Variable with String

    VAV. - Variables with Variables

    VBA. - Variable Binary Append

    CAL. - mathematical CALculation

    2.1 : - Definiton-Command