lua-users home
lua-l archive

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


On Wed, Dec 17, 2003 at 08:44:41PM -0200, Luiz Henrique de Figueiredo wrote:
> Try tonumber(file:read(2)) and tonumber(file:read(3))...
> --lhf

works like a charm. i didn't know you could explicitly call tonumber()
from lua... anyway, auto-conversion should work as well. many thanks.

cheers,
-p.