lua-users home
lua-l archive

Re: *n format in file:read()

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


> 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

AltStyle によって変換されたページ (->オリジナル) /