lua-users home
lua-l archive

Re: Numbers are buggy?

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


On 2019年04月08日 1:32 p.m., Luiz Henrique de Figueiredo wrote:
This seems to exist since the introduction of hex literals (Lua 5.2).
This exists since Lua 5.1.
I noticed :) (accidentally confused hex literals with hex escapes, sorry)
However:
$ lua5.1
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> a=1print(a)
stdin:1: malformed number near '1print'

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