[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Numbers are buggy?
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: Mon, 8 Apr 2019 12:51:44 -0300
$ lua
Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
> foo=1print(foo)
1
> a=1f()
stdin:1: malformed number near '1f'
> a=1g()
stdin:1: attempt to call a nil value (global 'g')
stack traceback:
stdin:1: in main chunk
[C]: in ?
>
This seems to exist since the introduction of hex literals (Lua 5.2).
Not sure of the exact revision.