Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > type (variable) |  |

type (variable)

Syntax

    whichVariable.type

Description

Multiuser Server server-side debugging function; returns a symbol indicating the variable's type. Variables can be of type `#param`, `#local`, `#global`, or `#property`.

Example

These statements set the variable `variableType` to the type symbol of the third variable in the variable list of frame 17 of thread `testThread`:

    thread = thread(testThread)
    frameNum = 17
    frame = thread.frame(frameNum)
    varNum = 3
    variable = frame.variable(varNum)
    variableType = variable.type