|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Arrays and Data-Structures > LST. - List Arrays > List-Management > List-Management |
MiniRobotLanguage (MRL)
LST.Get Type
Return the Data-Storage Type of the List-Array
Intention
When you call this command with a list handle as a parameter, it returns a number: 0, 1, 2, or 3.
A return value of:
"0" - indicates an invalid list handle,
"1" - indicates a String data type,
"2" - indicates an Integer data type, and
"3" - indicates a FP data type.
Syntax
LST.gty|P1[|P2]
LST.Get Type|P1[|P2]
Parameter Explanation
P1 - (Variable) This Variable will contain the Handle for the List-Array.
P2 - (Variable optional) This variable will receive the result of the Operation. If omitted the result is placed on TOS.
Example
'***********************************
' LST.-Sample
'***********************************
LST.New|$$LST|f
DBP.New list created with this Handle: $$LST
LST.gty|$$LST|$$RET
DBP.The Datatype is: $$RET
ENR.
Remarks
-
Limitations:
There are no limitations on the number of list arrays.
See also:
•