julia lang - How to quit/exit from withing "included" file file -


what can within file "example.jl" exit/return call include() in command line

julia> include("example.jl") 

without existing julia itself. quit() terminate julia itself.

edit: me useful while interactively developing code, example include test file , return execution julia prompt when condition met or compile tests working on without reorganizing code much.

i'm not quite sure you're looking do, sounds might better off writing code function, , use return exit. call function in include.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -