Use "pick" to get the value instead. The problem is that you want the value
of n evaluated, not the literal word n. You COULD also use "get" to do this,
but I prefer pick.
n:2
pick blk n
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 08,
Just put a : in front of the n, like:
blk/:n
Cheers,
malte
--
Från: [EMAIL PROTECTED]
Till: [EMAIL PROTECTED]
Ämne: [REBOL] NEED Help on a very SIMPLE script
Datum: tis 8 feb 2000 17.19
Hello,
I wrote a very very simple script, I wanna to retrieve the specific value of a
Hi Tiana--
In your code below, n is a *reference* to 2, it's not actually 2.
In REBOL 2.2, the quick way to get what your looking for is:
blk/:n
The colon (or "get" notation) ensures that the refinement "/n" deals
with the value associated with n, rather than the reference.
I admit it's a
You can also do:
n: 2
blk/:n ---There's a colon before the 'n'. This get's the value of the word.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 08, 2000 11:44 AM
Subject: [REBOL] NEED Help on a very SIMPLE script Re:
Use "pick&qu