メインコンテンツへスキップ

エイリアス

  • 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.