DatatypeToStr
The DatatypeToStr function returns the data type name corresponding to the numeric data type code. For example passing 5 returns "float".
sName = DatatypeToStr( number )
where
numberis the data type code from the Data Types table.
sName is the data type name from the Data Types table.
The script below returns the name corresponding to data type number 5:
|
-- data type number 5 |
|
-- get the corresponding name string |
|
-- result: type=5, name="float" |