Here is a simpler, cleaner version of @SET. By changing the loop to REPEAT-UNTIL, and switching things around a bit, I have a more streamlined code. I should've done this in the first place, of course.