[REBOL] Setting array variables Re:(3)
From: rryost:home at: 25-Aug-2000 13:33
Oops in my preceding post, I forgot to delete some erroneous stuff. It's
separated out below by blank lines.
----- Original Message -----
From: <[rryost--home--com]>
To: <[list--rebol--com]>
Sent: Friday, August 25, 2000 11:47 AM
Subject: [REBOL] Setting array variables Re:(2)
> I've added some more stuff to show how to use a variable for a row number.
>
> ----- Original Message -----
> From: <[rryost--home--com]>
> To: <[list--rebol--com]>
> Sent: Friday, August 25, 2000 11:37 AM
> Subject: [REBOL] Setting array variables Re:
>
> > Here's an illustrative console session that addresses your question:
> >
> >> dat: array [2 3]
> == [[none none none] [none none none]]
> >> dat/1: [1 2 3]
> == [[1 2 3] [none none none]]
; The following is the wrong way to insert a block!
> >> dat/2: 3 4 5
> == 5
> >> dat
> == [[1 2 3] 3]
; Here's the correct way: