[EMAIL PROTECTED] wrote:
> I have one question, though (several actually, but this one will do for
> now, I think :)
> [flags/:mult: 0 gives this error
> ** Syntax Error: Invalid word -- :mult:.
> ** Where: (line 45) flags/:mult: 0 ;-- this does not work. why? NV 6/2/2000
> This stumped me. Earlier I had declared [mult: make integer! 1] Surely, it
> is in scope.
>
REBOL doesn't support this kind of syntax:
->> i: 1
== 1
>> j: 2
== 2
->> blk: [["A" "B" "C"] ["D" "E" "F"]]
== [["A" "B" "C"] ["D" "E" "F"]]
->> blk/:i
== ["A" "B" "C"]
->> blk/:i/:j
== "B"
->> blk/:i/:j: "Q"
** Syntax Error: Invalid word -- :j:.
** Where: (line 1) blk/:i/:j: "Q"
->> change blk/:i/:j "Q"
== ""
->> blk
== [["A" "Q" "C"] ["D" "E" "F"]]
->>
Is that what you wanted to achieve?
-pekr-
> Nitish.
> [EMAIL PROTECTED]
> http://www.loka.net/