067-2007: DO Which? Loop, UNTIL, or WHILE? A Review of DATA Step and Macro Algorithms
COMBINING ITERATION WITH LOOP CONTROL An interation loop may be combined with an until condition. As noted above care should be taken to ensure that the variable tested in the until has boolean values, — in (0,1) — only. Note: line 38, done: I=2 shows ......