Langsung ke konten utama

Alias

  • debug.setstack

Argumen

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

Contoh

Replace one stack slot value in a Lua stack frame.