Is there a way for Julia to run the content first and check the condition next? Like the do-while loop in C++? Thanks
while true
# do stuff
cond() || break
end
Also useful to break in the middle of a block.
Is there a way for Julia to run the content first and check the condition next? Like the do-while loop in C++? Thanks
while true
# do stuff
cond() || break
end
Also useful to break in the middle of a block.