Code center > Suggestions

dupbool

(1/5) > >>

Gobo:
It would be extraordinary useful to have dupbool operator. For now, Sanger's nested if's do not work right, since only the deepest's if condition is checked. The right thing would be dupbool the top value and and it with a new condition.

EricL:
dupbool would do what exactly?  Push another value onto the stack that is the same as the top value?

Gobo:

--- Quote from: EricL ---dupbool would do what exactly?  Push another value onto the stack that is the same as the top value?
--- End quote ---
Yes. And I havn't found a workaround to do it.

EricL:
Me neither.  I'll add it in 2.43v.

Numsgil:
While you're adding operators, a swap had been requested once upon a time.  And then go ahead and add a boolswap, too.

Navigation

[0] Message Index

[#] Next page

Go to full version