----- Original Message -----
From: "Tim Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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


> ; TIA
> ; tim
> --
> Tim Johnson <[EMAIL PROTECTED]>
>       http://www.alaska-internet-solutions.com
>       http://www.johnsons-web.com
> --
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to