TOSTR†
Format†
TOSTR(var)
Function†
- Convert integers, real numbers, and general arrays to strings.
- If a general array is given, it returns a comma-joined string.
- In other words, it converts a general array to a simple comma-separated array.
Arguments†
- var
- Integer, real number, or general array to be converted.
Return value†
- If successful, the converted string.
- If unsuccessful, nothing is returned (VOID).
Related†
Version†
- YAYA: Available from the start
- Available in AYA5.8
Example†
_i = 100 // Assign an integer
_result = TOSTR( _i )
_result // The string "100" is output
_array = ('Sakura','Nekoko','Mayura') // Assign an array
_result = TOSTR( _array )
_result // The string "Sakura,Nekoko,Mayura" is output