Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Thread Tools Display Modes
Quirk in World.NumberDialog() Function
Senior Member
MrMoke's Avatar
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default Quirk in World.NumberDialog() Function - 10-11-2010, 04:32 PM

I noticed that when using this function to enter a value less than 1, that the NumberDialog() function will return a zero if the number does not start with a zero..

So, entering .04 returns 0.0
and, entering 0.04 returns 0.04

Most users would not think to add the leading zero.
Reply With Quote
Senior Member
debussybunny563's Avatar
Status: Offline
Posts: 852
Join Date: May 2010
Lightbulb 10-11-2010, 05:55 PM

Interesting find.

Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|Link to weapons collection: |

I have been dead for quite some time now; not much hope for resurrection.
Reply With Quote
Super Moderator
x2495iiii's Avatar
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 10-11-2010, 08:47 PM

One of our oldest still active users. Good to see he's still around.

Thanks for the tip, Mr. Moke.

Love the avatar, by the way.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.