Crashing Strongtalk with a simple sample

"[email protected]" <[email protected]> Mon, 21 May 2007 11:13:47 -0700
Newsgroups gmane.comp.lang.smalltalk.strongtalk
Message-ID <[email protected]>
Hello folks,
I am just running Strongtalk for a few minutes trying to do some basic
benchmarking.
Unfortunately, the following code will crash StrongTalk:
Is this so sophisticated ?


dotest

|x a sum2 count|

x:=0.
count:=10000000.
a:=Array new:count.
1 to:count do: [:i| x:=x+1.13321. a at:i put:x].
sum2:=0.0.
a collect:[:y| sum2:=sum2+(y*2)].

^sum2


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Strongtalk-general" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/strongtalk-general?hl=en
-~----------~----~----~----~------~----~------~--~---