Chuyển đến nội dung chính

Alias

  • debug.setstack

Đối số

number
bắt buộc
Stack level number. Must satisfy 0 <= level < the current call stack depth.
number
bắt buộc
One-based stack slot index.
any
bắt buộc
New value for the stack slot.

Ví dụ

Replace one stack slot value in a Lua stack frame.