lua-users home
lua-l archive

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


Javier,

   Thank you for the help. It is working now!

Alysson

 --- Javier Guerra <javier@guerrag.com> escreveu: 
> On Sunday 20 February 2005 9:05 am, Alysson Oliveira
> wrote:
> > Hi group,
> >
> >    I had been tryed to install luaexpat 1.0, witch
> is
> > work, but I can't use the function proved by Lua
> 
> if you include it as:
> 
> require "lxp.lom"
> 
> use it as lxp.lom.parse(),   not lom.parse()
> 
> if you'd like the shorter version, either move
> lom.lua out of the lxp 
> directory, or include it as:
> 
> lom = require "lxp.lom"
> 
> the idea is that the dot ('.') in the require
> command creates a hierarchy, 
> both in filesystem (lom.lua is in the lxp directory)
> and in namespace (the 
> 'lom' table is inside the 'lxp' library)
> 
> -- 
> Javier
> 

> ATTACHMENT part 2 application/pgp-signature 
 


	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis