메인 콘텐츠로 건너뛰기

별칭

  • debug.setstack

인수

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

예제

Replace one stack slot value in a Lua stack frame.