[Cuis-dev] String>>asInteger removed?

ken.dickey at whidbey.com ken.dickey at whidbey.com
Wed Jun 23 07:48:58 PDT 2021


On 2021-06-23 00:28, Phil B via Cuis-dev wrote:
..
>> I found out a while ago, that #asInteger does not parse negative
>> numbers. I wrote a mail about that to the mailinglist:
>> 
>> https://lists.cuis.st/mailman/archives/cuis-dev/2021-January/002716.html

Hmm..

Integer readFrom: '-1' readStream  --> -1

String>>asInteger does not seem to be used much.

Perhaps add:
vvv===vvv
String>>asInteger
   ^Integer readFrom: self readStream
^^^===^^^
to the Squeak compatability package?

Just a thought,
-KenD


More information about the Cuis-dev mailing list