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

[REBOL] Re: Evaluating a string

From: weyns:online:no at: 23-Sep-2003 18:58

----- Original Message ----- From: "Tim Johnson" <[tim--johnsons-web--com]> To: <[rebol-list--rebol--com]> Sent: 23. september 2003 18:05 Subject: [REBOL] Evaluating a string
> Hi Rebols: > I have the following: > > val: "efg" > == "efg" > >> args: [val 2] > == [val 2] > > ; Now what is the "rebol way" > ; to convert 'args to > ; {"efg" 2} ?
I am new to Rebol. So this may be the blind leading the blind... However, I have been just today playing with the examples of exelent online docs and stumbled on to "Reduce". (http://www.rebol.com/docs/core23/rebolcore-4.html) If I execute reduce on your example I get:
>> reduce args
== ["efg" 2]
>>
h.t.h Conrad Weyns