Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > script (thread) |  |

script (thread)

Syntax

    whichFrame.script

Description

Multiuser Server server-side debugging function; returns a reference to the script object for the given stack frame.

Example

These statements return the script object reference for the script running in stack frame 4 of the thread `testThread`:

    theThread = thread(testThread)
    frameNum = 4
    frame = theThread.frame(frameNum)
    script = frame.script

See also

`variable()`, `variableCount`, `line()`, `frame() (thread)`, `frameCount (thread)`