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" 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, 2000 8:19 AM > To: [EMAIL PROTECTED] > Subject: [REBOL] NEED Help on a very SIMPLE script > > > Hello, > > I wrote a very very simple script, I wanna to retrieve the specific value of > a > block by passing a variable instead of specify the block number to it: > > Rebol [blablabla] > blk: [1 2 3 4 5] > n: 2 > blk/n > > the error message is the following: > ** Script Error: Invalid path value: n. > ** Where: blk/n > > Your help will be highly appreciated. > > Tiana
