StrToDatatype
The DatatypeToStr function returns the data type number corresponding to the data type name. For example passing "float" returns 5.
number = StrToDatatype( string )
The example below converts data type "float" to to its number:
|
-- data type "float" |
|
-- get the corresponding number |
|
-- result: name="float"type=5 |