| View previous topic :: View next topic |
| Author |
Message |
Laszlo
Joined: 14 Feb 2005 Posts: 3959 Location: Pittsburgh
|
Posted: Sat Jul 28, 2007 5:36 pm Post subject: -0x..e parameter kills the function |
|
|
It is probably an artifact of the scientific floating point form. If a function parameter is a negative hex number, ending with the digit "e", the whole function call disappears.
| Code: | f(-0xe) ; No MsgBox
f(-0x1e) ; No MsgBox
f(-0xfd) ; MsgBox: -0xfd
f(+0xfe) ; MsgBox: 0xfe
f(x) {
MsgBox %x%
} |
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Jul 30, 2007 1:15 pm Post subject: |
|
|
| Thanks; this will be fixed in the next update. If you need a short-term workaround, you can add a space after the number: e.g. f(-0xe ) |
|
| Back to top |
|
 |
|