- Messages
- 74
- Country

Hi guys
I have a question about stack operators "s0, s1, … s49" "l0, l1, … l49"
If I understand correctly "s0" load what was in front of it and "l0" return what "s0" load previous
Is it
equal to this ?
I have a question about stack operators "s0, s1, … s49" "l0, l1, … l49"
If I understand correctly "s0" load what was in front of it and "l0" return what "s0" load previous
Is it
Code:
<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 == if{ (M:Y) (>L:GearClick,position) }
els{ (L:GearClick,position) (M:Y) - s0 20 >
if{ 0 (>K:GEAR_UP) 1 (>L:GearLeverPos747,number) }
els{ l0 -20 < if{ (L:GearLeverPos747,number) -- -1 max s1 -1 ==
if{ 0 (>K:GEAR_DOWN) } l1 (>L:GearLeverPos747,number)
}
}
}
</CallbackCode>
equal to this ?
Code:
<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 == if{ (M:Y) (>L:GearClick,position) }
els{ (L:GearClick,position) (M:Y) - 20 >
if{ 0 (>K:GEAR_UP) 1 (>L:GearLeverPos747,number) }
els{ [COLOR="royalblue"](L:GearClick,position) (M:Y) -[/COLOR] -20 < if{ (L:GearLeverPos747,number) -- -1 max -1 ==
if{ 0 (>K:GEAR_DOWN) } [COLOR="RoyalBlue"](L:GearLeverPos747,number) -- -1 max[/COLOR] (>L:GearLeverPos747,number)
}
}
}
</CallbackCode>
Last edited:
