Hi Charles,
On Thursday, July 04, 2002, 7:02:50 AM, you wrote:
C> series! with next and skip and tail and so forth. A pointer to a list element
C> which I cannot see irritates me.
Ok, so you need:
right: func [series [series!] elements [integer!]] [
copy skip tail series negate elements
]
left: func [series [series!] elements [integer!]] [
copy/part series elements
]
mid: func [series [series!] start [integer!] length [integer!]] [
copy/part at series start length
]
>> right "abcdefg" 3
== "efg"
>> left "abcdefg" 3
== "abc"
>> mid "abcdefg" 3 3
== "cde"
Adapt REBOL to you, not the opposite.
Regards,
Gabriele.
--
Gabriele Santilli <[EMAIL PROTECTED]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.