lua-users home
lua-l archive

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


> I just wanted to try the debug.debug interactive command line. The manual says :
> 
> [...] the user can inspect global and *local variables*, change their
> values [...]
> 
> And just after:
> 
> [...] and so have *no direct* access to local variables [...]
> 
> So...? I'm not sure to understand, do we have access to local
> variables or not? Or that means you must use functions to get them?

It means you must use functions to get them. (You have access to them,
but not direct access.)

-- Roberto