|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Variable Definitions and Operations > MOD. - Modules > Modules |
MiniRobotLanguage (MRL)
MOD.Enter
Enter the specified Module
Intention
This command will change the namespace to the specified module.
The module can be specified by name or by number.
MOD.Enter|1
or
MOD.Enter|Subroutines
If the module is specified by name and does not exist, you will get an error message.

Syntax
MOD.Enter|P1
Parameter Explanation
P1 - (Text) Is the name for the Module or the number of the Module.
The name is internally Lower cased, therefore all Module-names are internally in lowercase, but you can write them as you wish.
Example
'***********************************
' MOD.Enter-Sample
'***********************************
$$VAA=In Main
PRT.$$VAA
' This will be created as Module 1
MOD.New|Left Side Module
$$VAA=In Module 1
PRT.$$VAA
MOD.New|Right Side Module
$$VAA=In Module 2
PRT.$$VAA
MOD.Enter|Left Side Module
PRT.$$VAA
MOD.Enter|Right Side Module
PRT.$$VAA
DMP.gv
MBX.Done
ENR.
Remarks
-
Limitations:
-
See also:
•