Flow-control structures: Difference between revisions

m
mNo edit summary
Line 1,033:
 
=={{header|Julia}}==
Julia provides the @goto and @label macros for goto within functions. In addition, the "break" keyword is used for jumping out of a single loop, throw() of an exception can be used to jump out of a try() statement's code, and the assert() and exit() functions can be used to terminate a program.
<lang julia>
function example()
4,108

edits