LuaScript Xojo and Real Studio Plugin

LuaScriptContext.GetBoolean Method (console safe)

Fetches a boolean value from the stack

GetBoolean(
   index as Integer,
   popStack as Boolean) as Boolean

Parameters

index
The index of the element in the stack to fetch from. -1 is the element at top of the stack, the last element pushed onto the stack.
popStack
True if you want the value to be popped off the stack, false if you want it to remain there.

Returns

Boolean
The requested value as Boolean

Remarks

See Also

LuaScriptContext Class