Hi,
Running some tests of my own app, I just got a deprecated warning popup in the debugger. The method is #isZero in ByteString, and isZero is called from SmallInteger #/. I'm using the 10506 Core image. What can I do to fix this?
-- -JT _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Never divide by a string
2010/1/14 John Toohey <[hidden email]>: > Hi, > Running some tests of my own app, I just got a deprecated warning popup in > the debugger. The method is #isZero in ByteString, and isZero is called from > SmallInteger #/. I'm using the 10506 Core image. What can I do to fix this? > > -- > -JT > > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by John Toohey
Don't divide a number by a ByteArray?;)
Cheers, Henry Den 14. jan. 2010 kl. 19.25 skrev John Toohey <[hidden email]>: > Hi, > > Running some tests of my own app, I just got a deprecated warning > popup in the debugger. The method is #isZero in ByteString, and > isZero is called from SmallInteger #/. I'm using the 10506 Core > image. What can I do to fix this? > > -- > -JT > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
:-) forgot an #asNumber in one of my forms.
On Thu, Jan 14, 2010 at 13:35, Henrik Johansen <[hidden email]> wrote: Don't divide a number by a ByteArray?;) -- -JT _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Then remember to handle invalid input gracefully too :)
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |