Lingo Dictionary > S > string()

 

string()

Syntax

string(expression)

Description

Function; converts an integer, floating-point number, object reference, list, symbol, or other nonstring expression to a string.

Example

This statement adds 2.0 + 2.5 and inserts the results in the field cast member Total:

member("total").text = string(2.0 + 2.5)

Example

This statement converts the symbol #red to a string and inserts it in the field cast member Color:

member("Color").text = string(#red)

See also

value(), stringP(), float(), integer(), symbol()