Lingo Dictionary > S > symbol() |  |

symbol()

Syntax

    stringValue.symbol
    symbol(stringValue)

Description

Function; takes a string, `stringValue`, and returns a symbol.

Example

This statement displays the symbol `#hello`:

    put ("hello").symbol
    -- #hello

Example

This statement displays the symbol `#goodbye`:

    x = "goodbye"
    put x.symbol
    -- #goodbye

See also

`value()`, `string()`