Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: List! series [Was: blank]

From: gmassar::dreamsoft::com at: 4-Oct-2000 16:04

I followed Elan's suggestion to try out list! series. Here is what I did:
>> list: make list! [1 2 3 4]
== make list! [1 2 3 4]
>> first list
== 1
>> remove list
== make list! [2 3 4]
>> first list
** Script Error: Out of range or past end. ** Where: first list What!!!
>> list
== make list! [] Oh, the series is completely empty! Can anybody explain why remove all elements in the list instead of just the first element? Remove block! series just one element at the head. Why different? [rebol--techscribe--com] wrote: