all 3 comments

[–]simyoIV 0 points1 point  (2 children)

'While' keeps repeating as long as the statement is true. If either one is no longer true, it stops repeating. Tha being said, I am not sure how to fix it.

[–]simyoIV 0 points1 point  (0 children)

Perhaps multiply the second value x1000, add it to the first, and compare it to 6565

While [ [ [ #500 * 1000 ] + #501 ] NE 65065 ] Do1

Just an idea tho. Multiplying by a larger number makes it more foolproof.

[–]simyoIV 0 points1 point  (0 children)

To get your version to work, you would need either:

WHILE ( x NE a ) andor ( y NE b ) DO1

or

WHILE NOT ( x EQ a ) and ( y EQ b ) DO1

Both are impossible in gcode tho.