lua-users home
lua-l archive

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


Can't you do it with string.gmatch, reading the file 2 times, one to run and
other just reading the contents and serching for keywords? Like seek the
file looking for string.gmatch("function(")?


-----Mensagem original-----
De: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] Em nome de Minardo Gollun
Gonzalez Lopez
Enviada em: quarta-feira, 4 de julho de 2007 11:17
Para: lua@bazar2.conectiva.com.br
Assunto: Help me!

I need a code, using Lua5.1.2 that allows me to load a Lua file and print
the name of all the functions that have the document. Please any people that
have an example or tutorial send It to me because I have not been able to
make an example that loads lua and execute it correctly using the latest
libraries.
 
Saludos: Ing. Minardo G. González López.


__________ NOD32 2378 (20070704) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com