Elan wrote (in another thread):
> Note that pick is safer, it will return none if parse returns none or if
parse returns an empty block, whereas first will fail with an error
exception in both cases.
'second, 'third and so on do the same as well as 'last. I'm of the opinion
that these functions should return 'none instead. So instead of:
>> first []
** Script Error: Out of range or past end.
** Where: first []
they should return:
>> first []
== none
YMMV.
Andrew Martin
"Move along now, nothing to see here."
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-
- [REBOL] free web hosting with rebol Re:(3) Al . Bri
- [REBOL] [REBOL]string to series function tjohnson
- [REBOL] [REBOL]string to series function Re: sterling
- [REBOL] [REBOL]string to series function Re:(2) icimjs
- [REBOL] [REBOL]string to series function Re:(3) sterling
- [REBOL] [REBOL]string to series function Re:(4) icimjs
- [REBOL] [REBOL] [REBOL]string to series function Re:(4) tjohnson
- [REBOL] [REBOL]string to series function Re:(2) tjohnson
- [REBOL] [REBOL]string to series function Re:(2) tjohnson
- [REBOL] [REBOL]string to series function Re:(3) icimjs
- [REBOL] first second third ... last Re: Al . Bri
- [REBOL] first second third ... last Re: icimjs
- [REBOL] free web hosting with rebol Re:(3) tim781
