[Pharo-project] Issue with deprecated method in ByteString
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
Never divide by a string 2010/1/14 John Toohey <jt@parspro.com>:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Don't divide a number by a ByteArray?;) Cheers, Henry Den 14. jan. 2010 kl. 19.25 skrev John Toohey <jt@parspro.com>:
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 Pharo-project@lists.gforge.inria.fr 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 <henrik.s.johansen@veloxit.no
wrote:
Don't divide a number by a ByteArray?;)
Cheers, Henry
Den 14. jan. 2010 kl. 19.25 skrev John Toohey <jt@parspro.com>:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- -JT
Then remember to handle invalid input gracefully too :) Cheers Den 14. jan. 2010 kl. 19.40 skrev John Toohey <jt@parspro.com>:
:-) forgot an #asNumber in one of my forms.
On Thu, Jan 14, 2010 at 13:35, Henrik Johansen <henrik.s.johansen@veloxit.no
wrote: Don't divide a number by a ByteArray?;)
Cheers, Henry
Den 14. jan. 2010 kl. 19.25 skrev John Toohey <jt@parspro.com>:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- -JT
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (3)
-
Henrik Johansen -
John Toohey -
Nicolas Cellier