[squeak-dev] The Inbox: Files-tpr.169.mcz

tim Rowledge tim at rowledge.org
Wed Apr 19 21:55:09 UTC 2017


> On 19-04-2017, at 2:39 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> 
> Hi Tim,
> 
>     why not  e.g. ^(self at: 2) ifNil: [false] ifNotNil: [:file| file isReadOnly not] ?  (just curious)

Simplest possible test to illustrate the idea is all. Maybe it should go on to actually test the file properly since it is quite possible the real state of the file is different to when we opened it. Files make my head hurt.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- One too many lights out in his Christmas tree.




More information about the Squeak-dev mailing list