MultiScript - Core built-in functions
Data Type Description
Type |
Description |
<num> |
A variable or constant of type number |
<str> |
A variable or constant of type string |
<array> |
A variable or constant of type array |
<handle> |
A variable of type handle |
<var> |
A variable of any type |
Script Language Functions
Return Value |
Function Definition |
Description |
<num> |
IsTypeString( <var> ) |
Returns 1 if <var> is of type string |
<num> |
IsTypeNum( <var> ) |
Returns 1 if <var> is of type number |
<num> |
IsTypeArray( <var> ) |
Returns 1 if <var> is of type array |
<num> |
IsTypeHandle( <var> ) |
Returns 1 if <var> is of type handle |
<num> |
strtonum( <str> ) |
Converts a number of type string to number |
<str> |
numtostr( <num> ) |
Converts a number of type number to string |
<num> |
VariableDefined(<str>) |
Returns 1 if variable name sent a parameter exists as a variable. |
See Also
Array Functions
String Functions