Modules

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Variable Definitions and Operations > MOD. - Modules >

Modules

MOD.Get Name

Previous Top Next


MiniRobotLanguage (MRL)

 

MOD.Get Name

Get the Name of the Module, where we are now

 

 

Intention

 

 

This command will return the name of the module, where we are now.

 

 

Syntax

 

 

MOD.Get Name[|P1]

 

 

Parameter Explanation

 

P1 - (optional) Is a return Variable, if omitted the result will be on TOS.

 

 

 

 

 

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: