الانتقال إلى المحتوى الرئيسي

أسماء بديلة

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