[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: *n format in file:read()
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 4 Jun 2013 22:32:29 -0300
> Is it specified anywhere what, exactly, the '*n' format is supposed to
> read?
The same as fscanf with %lf. See the source:
http://www.lua.org/source/5.2/liolib.c.html#read_number
http://www.lua.org/source/5.2/luaconf.h.html#LUA_NUMBER_SCAN
called from
http://www.lua.org/source/5.2/liolib.c.html#g_read