On Wednesday, December 24, 2014 6:08:51 PM UTC-5, [email protected] wrote:
>
> On Thursday, December 25, 2014 8:29:45 AM UTC+10, Milan Bouchet-Valat
> wrote:
>>
>> Le mercredi 24 décembre 2014 à 10:21 -0800, [email protected] a
>> écrit :
>>
>> >
>> > ~~~julia
>> > #!/usr/bin/julia
>> >
>> > n = 1 # top-level variable, aka global
>>
>
> I think the thing missing from the manual is if this assignment does in
> fact create a global, or a name in some sort of file scope?
>
>
I'd just assumed that a global in Julia is a variable defined at file-scope
(i.e., top-level). Is that indeed the case?