Wrap the script in a function (functions) and use return? Abel Soares Siqueira
2016-10-25 19:27 GMT-02:00 David van Leeuwen <david.vanleeu...@gmail.com>: > Hello, > > is there a way in Julia for a file that is `include`d to signal that the > rest of the file should be ignored? Something like `\endinput` in TeX. > > I could use this in running testing scripts, putting such and `endinput` > further to the back while debugging the script. Currently I wrap the > remainder of the script in `if false ... end`. That works, when the > remainder is syntactically correct. > > Thanks, > > ---david >