Przejdź do głównej treści

Aliasy

  • debug.setstack

Argumenty

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

Przykład

Replace one stack slot value in a Lua stack frame.