Am 05.01.2012 um 21:11 schrieb Meer, H. van der:

> Reccently I did something random in ctxlua. I post it in the hope it will be 
> useful.
> 
> Hans van der Meer
> 
> \startluacode
>       -- Define our namespace as hvdm 
>       hvdm = hvdm or {} 


Don’t use a global namespace, you can use “userdata”.

userdata      = userdata      or { }
userdata.hvdm = userdata.hvdm or { }

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to