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

variable()

Syntax

    whichFrame.variable(variableNumber)

Description

Multiuser Server server-side debugging function; returns a reference to the variable at the given number in the variable list.

Example

This statement makes the variable `whichVariable` a reference to the seventh variable in the variable list of frame 23 of the thread `testThread`:

    thread = thread(testThread)
    frameNum = 23
    frame = thread.frame(frameNum)
    variableNum = 7
    whichVariable = frame.variable(variableNum)