|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Variable Definitions and Operations > MOD. - Modules > Modules |
MiniRobotLanguage (MRL)
MOD.Name from Number
Get the Name of a Module, by its Number
Intention
This command will return the name of a module, if it has one, from its number.
Syntax
MOD.Name from Number[|P1][|P2]
Parameter Explanation
P1 - Is the Number of the Module of which we want the Name.
P2 - (optional) Is a return Variable, if omitted the result will be on TOS.

Speed Considerations.
Example
'***********************************
' MOD.Get Name-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:
•