|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Variable Definitions and Operations > MOD. - Modules > Modules |
MiniRobotLanguage (MRL)
MOD.Get Number
Get the Number of a Module, where we are now
Intention
This command will return the number of the current module.
Syntax
MOD.Get Number[|P1]
Parameter Explanation
P1 - (optional) Is a return Variable, if omitted the result will be on TOS.
Example
'***********************************
' MOD.Get Number-Sample
'***********************************
$$VAA=In Main
PRT.$$VAA
MOD.New|Left
MOD.Get Name|$$RES
MOD.Get Number|$$REN
PRT.In $$RES [$$REN]
MOD.Delete|$$RES
MOD.Get Name|$$RES
MOD.Get Number|$$REN
PRT.In $$RES [$$REN]
MBX.!
ENR.
Remarks
-
Limitations:
-
See also:
•