REBOL 3.0

SELECT/SKIP bug or feature?

Carl Sassenrath, CTO
REBOL Technologies
29-Apr-2009 16:40 GMT

Article #0194
Main page || Index || Prior Article [0193] || Next Article [0195] || 12 Comments || Send feedback

In R2, if you use select with /skip, it returns a block:

data: [a 10 "bob" b 20 "ted" c 30 "sam"]
select/skip data 'b 3
[20 "ted"]

That can be useful at times - because you get the remaining contents of the "implied" record.

However, in R3:

select/skip data 'b 3
20

which is consistent with the definition of select, but not with R2 behavior.

Comments?

12 Comments

REBOL 3.0
Updated 25-Jul-2017 - Edit - Copyright REBOL Technologies - REBOL.net