[REBOL] Re: Bug - Pick gives different results depending upon it's data
From: al:bri:xtra at: 6-Jan-2001 8:49
> Andrew wrote:
> > 'pick with an out of range index on a object or function should return
> I would prefer PICK to behave like the PICK-PROP I proposed earlier, i.e.
to fire an error or evaluate the specified handler.
We can get some of that functionality with:
any [pick block 0 make error! "message here"]
any [pick block 0 DefaultActionFunction]
I think that's acceptable enough for me. Also, I'd make sure that 'none
doesn't get into the block in the first place.
ICQ: 26227169 http://members.nbci.com/AndrewMartin/