Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: how to do simple exclusive open -- don't use negative logic

From: petr:krenzelok:trz:cz at: 6-Jun-2001 21:28

----- Original Message ----- From: "Anton" <[arolls--bigpond--net--au]> To: <[rebol-list--rebol--com]> Sent: Wednesday, June 06, 2001 7:39 PM Subject: [REBOL] Re: how to do simple exclusive open -- don't use negative logic
> I would suggest you *not* use negative logic, > as in: > > either not exists? semaphore-port [ ; ... does semaphore already exists? > > The above question is incorrectly placed, I think.
I am not sure if you mean it's english meaning, so if so, what about this one?: ->> doesn't: func [arg][not arg] ->> exist?: :exists? ->> if doesn't exist? %/C/bbb.txt [print "No such file"] No such file :-) -pekr-