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