At 05:00 PM 12/13/99 -0500, you wrote:
>So it is important to remember that the variables point to the nth
>element of the series, not to the element itself.
>
>I agree that it would seem convenient to have something like a pointer
>to an element, that moved when it moved (without looking it up again),
>but I don't see how you could say that in REBOL itself. Perhaps we'll
>see that in a future refinement. Or a refined series that allowed for
>indexing, record ID's, and other real-life database features
>(REBOL/SQL?).
>
>-Ted.

Hi Ted,

Have you tried using list!? They operate differently from other series.

>> a: to-list [ 1 2 3 4 5 6 ]
== make list! [1 2 3 4 5 6]
>> b: find a 4
== make list! [4 5 6]
>> insert a 100
== make list! [1 2 3 4 5 6]
>> b
== make list! [4 5 6]
>> a
== make list! [1 2 3 4 5 6]
>> head b
== make list! [100 1 2 3 4 5 6]
>>

 - jim

Reply via email to