Simple question (I think): Is there an easy or idiomatic way to
differentiate if a julia file is being run directly from when it's included?

I'm looking for the equivalent of this in ruby:

if $0 == __FILE__
  puts "Running file"
else
  puts "Included file"
end

Thanks.

Cameron

Reply via email to