Type:
STR: object -> string
Call syntax:
STR(anObject)
Description:
STR converts objects of arbitrary types
into string values.
Different from other conversion functions, STR
works also for complex types such as function,
sequence,
and segment.
Example:
> STR(TRUE)
Result= "TRUE"
> STR(2.3)
Result= "2.29999995"
> STR("hallo")
Result= "hallo"
> STR([c d e])
Result= "[c d e]"
> f:=FUNC(1,`write(1)'); STR(f)
Result= "FUNC(1,`write(1)')"
See also: