Ha ha ha.

Thank you.  Clearly I need more coffee today.

On Wednesday, September 3, 2014 12:32:56 PM UTC-5, Ivar Nesje wrote:
>
> May I suggest searching for __main__ 
> <https://groups.google.com/forum/?hl=en#!searchin/julia-users/__main__>?
>
>
> On Wednesday, September 3, 2014 7:20:46 PM UTC+2, David Smith wrote:
>>
>> Is there a preferred idiom in Julia to match the equivalent Python:
>>
>> if __name__ == '__main__':
>>     run_like_a_command()
>> else:
>>     be_a_module()
>>
>> I tried searching, but apparently am not hitting the right keywords. 
>> Maybe my terminology is incorrect.
>>
>> Thanks, and sorry if this is obvious.
>>
>

Reply via email to