lua-users home
lua-l archive

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


On Tue, Jun 4, 2013 at 9:32 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> 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


Alright, thanks.

--
Sent from my Game Boy.