Re: [Pharo-project] Adding a message for handling disposable resources?

2012-01-29 Thread Guido Stepken
Am 29.01.2012 22:01 schrieb "Guillermo Polito" : > > Hi! > > It's very common to have the same structure when handling resources that should be disposed after using -normally when they belong outside the image- like files, aliens, database transactions, mutex semaphores... > > [ > open the file > d

[Pharo-project] Adding a message for handling disposable resources?

2012-01-29 Thread Guillermo Polito
Hi! It's very common to have the same structure when handling resources that should be disposed after using -normally when they belong outside the image- like files, aliens, database transactions, mutex semaphores... *[ open the file do something with the file ] ensure: [ close the file ] **[ cr