lua-users home
lua-l archive

Re: NUL byte in string literal

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


On Apr 2, 2018, at 5:58 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 2018年04月02日 11:24 GMT+02:00 Matthew Wild <mwild1@gmail.com>:
>> That leaves the only truly correct way of representing 0円 (that
>> doesn't depend on context) as 000円.
> 
> Not so. \x00 also works, and is IMHO preferable.
> 
Agreed.
lua decimal escape is easily confused with octal, especially with
leading zero, like 012円.
Any other programming languages use decimal escapes ?

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