Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > variableCount

 

variableCount

Syntax

whichFrame.variableCount

Description

Multiuser Server server-side debugging function; returns the number of variables in the current stack frame. This number includes variables of all types: #local, #global, #property and #param.

Example

This statement sets the variable numVariables to the number of variables in the variable list of frame 23 of the thread testThread:

thread = thread(testThread)
frameNum = 23
frame = thread.frame(frameNum)
numVariables = frame.variableCount