I am a bit confused by the code below:
(L:A, Number) (L:B, Number) - d 50 >= r 50 >= and if{ 30 (>L:C, Number) }
As I understand it, B is subtracted from A and the answer is duplicated on top of the stack, call it Ans. 50 is then pushed on the stack, compared to Ans, and we end up with a 0 or 1 on top of the stack (assume 1 here), and Ans one level down. We then reverse the two stack values, so we now have Ans on top and 1 below, we then push 50 on the stack and do another compare. It seems to me we are now comparing 50 to Ans again which duplicates the first compare -- what am I missing?
Thx,
Al
(L:A, Number) (L:B, Number) - d 50 >= r 50 >= and if{ 30 (>L:C, Number) }
As I understand it, B is subtracted from A and the answer is duplicated on top of the stack, call it Ans. 50 is then pushed on the stack, compared to Ans, and we end up with a 0 or 1 on top of the stack (assume 1 here), and Ans one level down. We then reverse the two stack values, so we now have Ans on top and 1 below, we then push 50 on the stack and do another compare. It seems to me we are now comparing 50 to Ans again which duplicates the first compare -- what am I missing?
Thx,
Al

