lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> so there's no "automatic global" there at all.

I did not say there was automatic globals. What I meant was this: When
you see a function like

  int foo () { a = 1; }

in C, C++, C#, Pascal, Objective Pascal, Ada, Java, Scheme, Lisp (and a
lot of other languages), do you think that "a" is local to the function?
Or does it look more like a global (that is, external to the function)?

-- Roberto