LuaScript Xojo and Real Studio Plugin

LuaScriptContext.Push Method (console safe)

Pushes a Xojo or Real Studio object to the stack. This is often used to return values from a function.

Push(
   value as Object)

Parameters

value
The value to be pushed onto the stack

Remarks

Note that the Lua script plugin will keep reference to the passed in REALbasic object until the LuaScript object is terminated. This is done to ensure that objects that are passed to Lua do not get terminated while Lua might still be using them.

See Also

LuaScriptContext Class