<< Click to Display Table of Contents >> Navigation: 3. Script Language > Mathematical and algorithmic operations > Mathematical and algorithmic operations |
MiniRobotLanguage (MRL)
VIC. Command
Variable InCrement
Intention
Increment the Value inside any local or Global Variable or Stack.
"Increment" means that the number is increased by 1 or if specified, the number in P2.
Syntax
VIC P1[|P2]
Parameter Explanation
P1 - Variable containing any NUM
P2 - optional, value that is added to P1, default is 1.
Speed in Ticks:
This command uses typically around 170 Ticks.
Example
'*****************************************************
' EXAMPLE 1:
'*****************************************************
VAR.$$NUM=50
VIC.$$NUM
VÎC.$$NUM|15
END.
Remarks
-
Limitations:
-
See also:
• CAL. - mathematical CALculation
• VAR. - Variable Set Value/Clear