 |
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Thu Feb 01, 2007 6:38 pm
Minor bug: #show/#say and very large numbers. |
Just what the subject says, if you try and
#show {99999999999999999999}
or anything larger then 9223372036854775807 without quotation marks, it will display 9223372036854775807 instead...even if you weren't actually intending to treat it as a real number. Not major, obviously, since quotation marks do work nicely, just something I came across. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Feb 01, 2007 7:23 pm |
That's true. CMUD only supports 64-bit integers (zMUD only supported 32-bit, so it was even worse).
|
|
|
 |
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Thu Feb 01, 2007 8:18 pm |
ZMud didn't have this problem, though, possibly because it didn't treat a random string of digits in a #show as a number... it actually baffled me for a while, because CMud doesn't seem to #show numbers any differently then ZMud, except for apparently trying to store them as such (and failing). Another example of something breaking:
#show {blah 999999999999999999999 blah} |
|
|
 |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Thu Feb 01, 2007 9:53 pm |
But the number in quotes and it will be treated as a string...
|
|
|
 |
|
|