|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Variable Definitions and Operations > MOD. - Modules > Modules |
MiniRobotLanguage (MRL)
MOD.Main
Go back to Module "0" the Main Module
Intention
This is the easiest way to get back to Module 0, the main module.
Alternatively you can also write MOD.0
Syntax
MOD.Main
Parameter Explanation
No Parameters.
Example
'***********************************
' MOD.Main-Sample
'***********************************
$$VAA=In Main
PRT.$$VAA
MOD.New|Left
MOD.New|Right
MOD.New|Other
GSB.Test
MOD.Main
GSB.Test
MBX.!
ENR.
'-----------------------------------------------------------
:Test
MOD.Get Last Name|$$THI
PRT.We came from: $$THI
MOD.Get Name|$$CUR
PRT.We are here: $$CUR
RET.
'-----------------------------------------------------------

This is the Output from the Script above.
Remarks
-
Limitations:
-
See also:
•