LuaScript Xojo and Real Studio Plugin

LuaScriptContext.GetString Method (console safe)

Fetches a string value from the stack

GetString(
   index as Integer,
   popStack as Boolean) as String

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

String
The requested value as string

Remarks

See Also

LuaScriptContext Class