lua-users home
lua-l archive

comments, line numbers and storing a file in a single string

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


I have a problem. In my project I load all lua scripts before use and store them in strings for faster access. This has a side effect: first I lost line numbers and second, if I have a comment in a line, the rest of script from that line is commented.
Can somebody suggest me a solution for such problems?
I would like to be able to comment my scripts and also, know in what line got an error.
--
http://dsgp.blogspot.com | Linux, programación, juegos
Have no place I can be since I found Serenity
But you can’t take the sky from me
		
______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com

AltStyle によって変換されたページ (->オリジナル) /