[BUG] String>>asInteger

Martin Wirblat sql.mawi at t-link.de
Thu Jan 22 14:13:06 UTC 2004

Nevin Pratt <nevin at smalltalkpro.com> wrote on 22.01.2004 14:29:13:

>And, I don't *ever* remember a time when I found raising an error 
>when extracting a number from a string to be useful, with any 
>Smalltalk (VA, VW, or Squeak).  It has always been real annoying to 
>have to wrap the converter in an error handler.

Exactly, and for converting text from file or network to numbers, this 
is a question of speed too. A failed conversion should result in 
answering nil.   

More information about the Squeak-dev mailing list