Convert an object to a string representation.
Integer_Type string (obj)
The string function may be used to convert an object
obj of any type to a string representation.
For example, string(12.34) returns "12.34".
define print_anything (anything)
{
message (string (anything));
}
This function is not the same as typecasting to a String_Type
using the typecast function.
- slangrtl
-
_apropos,
_print_stack,
_slang_guess_type,
_typeof,
atof,
char,
double,
int,
integer,
isdigit,
message,
pack,
putenv,
set_float_format,
sprintf,
sscanf,
strcat,
tolower,
toupper,
typecast,
typeof,
verror,
vmessage
|