Look at the help for COPY.
? copy
There you can see:
/part -- Limits to a given length or position.
range -- (Type: number series port pair)
When you use INDEX?, you get a number, and COPY uses that as a length.
When you use a series directly, COPY uses its index to specify the position
of the end of the copy.
In other words:
- A number specifies a length, so the end position is always relative to the
start position.
- A series specifies an absolute ending position.
Anton.
> Simply restated, I would like to understand why BACK TAIL B used
> alone like
> here:
>
> >>BACK TAIL B
>
> returns a series
>
> while when used in:
>
> >>copy/part b BACK TAIL B
>
> it returns a number. (I assume it returns a number because this is what
> COPY/PART needs as a second argument)
> JF
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.