Zum Hauptinhalt springen

Aliase

  • debug.setstack

Argumente

number
erforderlich
Stack level number. Must satisfy 0 <= level < the current call stack depth.
number
erforderlich
One-based stack slot index.
any
erforderlich
New value for the stack slot.

Beispiel

Replace one stack slot value in a Lua stack frame.