[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Format Question
- From: "QQSZero.!" <80444274@...>
- Date: Wed, 29 Aug 2012 12:17:09 +0800
Why 5.1 support negative and 5.2 do not support negative operating it?
Lua 5.2.1 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> string.format("%X",-1)
stdin:1: bad argument #2 to 'format' (not a non-negative number in proper range)
stack traceback:
[C]: in function 'format'
stdin:1: in main chunk
[C]: in ?