On Fri, 08 Mar 2002 "Jan Decroos" <[EMAIL PROTECTED]> wrote:

> Not sure how that could be, because in MC ver 2.4.1
> 
> answer "--6" is an integer    --> returns false
> answer "--6" is a number    --> returns false
> 
> 
> Nope.
> I've tested it  with MCCarbon 2.4.1, on Mac OS X (10.1.3), PowerBook G4, 550 MHz
> 
> and it returns :
> 
> answer "--6" is an integer    --> returns false
> answer "--6" is a number    --> returns TRUE

Verified: This is a bug.  The bug is actually in the MSL (Metrowerks
Standard Library) function strtod(), but we can work around it easily
enough.
  Thanks for the report,
    Scott

PS: Note that one could certainly make the argument that --6 is a
number, but its value would be 6, whereas it comes out as -6 in MSL.
There shouldn't be too many more bugs like this in the engine as we've
found and rewritten so many buggy MSL functions, we're hardly using
any anymore ;-)

> Jan

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...

_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to