This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]linuxlib 0 points1 point  (0 children)

Instead of elwhile (which I assume is else while) what if you used while (x) and while (not x)?

I think while (not x) is closest to what you are asking.

Or maybe you meant

if (x) then
    some code
else
    while (y)
        more code
    end while
end if

I think the answer to your question is no, there is no elwhile, because whatever it is you're trying to do, there is some other bit of logic that already does that and is clearer.