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

[REBOL] Re: Another problem with dynamically getting a value

From: Izkata:Comcast at: 31-Oct-2005 20:12

It looks like the problem was the space in n2:
>> n1: 123
== 123
>> n2: "n1 "
== "n1 "
>> get 'n1
== 123
>> get 'n2
== "n1 "
>> get get 'n2
** Script Error: get expected word argument of type: any-word object none ** Near: get get 'n2
>> get to-word get 'n2
** Script Error: n1 has no value ** Near: get to-word get 'n2
>> get to-word trim get 'n2
== 123
>> get to-word trim n2
== 123