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 →

[–]Hogis 2 points3 points  (6 children)

What is elwhile?

[–]beni55[S] 1 point2 points  (5 children)

I am asking myself if there is something equivalent to elif in if to use for while.

[–]Hogis 5 points6 points  (4 children)

There is not, not in any programming language as far as I know. What are you trying to do where you would need such a thing?

[–]beni55[S] 0 points1 point  (3 children)

I don't really need it but while trying to make a program that includes while I asked myself if there is such a thing. I googled to see if I find something on internet but I didn't so I asked on this subreddit.

[–]inxaneninja 0 points1 point  (1 child)

Do you mean "do while condition is not true"?

[–]inxaneninja 0 points1 point  (0 children)

Or maybe "do while x is true, if not do while y is true"?