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

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Thu Jul 28 13:42:15 UTC 2005


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