lua-users home
lua-l archive

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


Hi people,
I'm trying to write a simple program in Lua, but it's getting hard for me
to work with data input from keyboard. I've tryed to use de function
"read()" but I always get the following message:

../lua-5.0/bin/lua: teste.lua:2: attempt to call global `readfrom' (a nil
value)
stack traceback:
        teste.lua:2: in main chunk
        [C]: ?

 can anyone help me?

Mauro La-Salette C. L. de Araújo
Center of Infomatics - UFPE
Recife - Brazil