[Q] valueNowOrOnUnwindDo: not in 3.9, how I could replace it or where I found it ?

radoslav hodnicak rh at 4096.sk
Thu Jul 28 13:56:19 UTC 2005


#ensure:


On Thu, 28 Jul 2005, Lic. Edgar J. De Cleene wrote:

> Continuing with VBREgex I try the following
>
> | matcher count stream |
>    stream := 'Discovery:Users:admin:Library:Preferences:iCab
> Preferences:Hotlist3.html' asFilename.
>    count := 0.
>    matcher := '<A HREF=+' asRegex.
>    [[matcher searchStream: stream]
>        whileTrue: [count := count + 1].
>    nil]
>        valueNowOrOnUnwindDo: [stream close].
>    ^ count
>
> But no valueNowOrOnUnwindDo: in 3.9
>
> Seems this exist on others Smalltalk, Spotlight drives me to Smalltalk by
> Example and Aoki Atsushi textbook.
>
> How I could replace/ fin d it ?
>
> Thanks you in advance
>
> Edgar
>
>
>
>
>
>
>
> ___________________________________________________________
> 1GB gratis, Antivirus y Antispam
> Correo Yahoo!, el mejor correo web del mundo
> http://correo.yahoo.com.ar
>
>



More information about the Squeak-dev mailing list