lua-users home
lua-l archive

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


> >>is not "global a,b,c". One solution is to add a specific "mark" for such
> cases ("global ;", "global -", anything like this). Another is simply

global ; seems best to me, because it doesn't require any changes (and would
work anyway).

> I appreciate adding this "use x do ... end" might cause just as many
> problems as this scoping discussion is trying to solve.

It's beginning to look like a sort of let x = foo in ... end construct,
familiar to functional programmers.

-- 
http://sc3d.org/rrt/ | Careful Cyclists Approaching From Right