<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Variables functions > TypeOf |
Description
Return a string indicating type and subtype of a variable.
Syntax
s = TypeOf(Variable)
Returns
String
Parameters
Name |
Type |
Optional |
Meaning |
Variable |
a Variable |
No |
Remarks
Will return a string like MainType.SubType of a variable
Restrictions
See also
Examples
Dim MyLong as Long
MsgBox TypeOf(MyLong)
'---Will return a string like "Numeric.Long"