Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: 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.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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).
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: 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}
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Thu Feb 01, 2007 9:53 pm   
 
But the number in quotes and it will be treated as a string...
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net