lua-users home
lua-l archive

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

Yes, the program doesn't finich. In fact, the vocabulary is not so appropriate. Using file:lines, the script has worked, but it's importante to know I have also this alternative.
Thank you.

Em 06-11-2011 13:47, Rémi Rampin escreveu:
2011/11/6 Luciano de Souza:
I am trying to load a table with lines from a shell output. However, I am
not able to understand what is wrong.
Your code seems to work here, if I add the missing "end" on line 9
(you also probably want "line" to be declared local on line 7).

When you say "looping", do you mean your program never finishes?