[REBOL] Re: Using a Math oper. buried in a variable
From: mumpsoid:gmx at: 2-Apr-2009 14:37
On Thu, 2 Apr 2009, Wall, Scott wrote:
> Hi Duke,
>
> > As with most things in REBOL, there are a number of ways to do what
> > you want. Here's another one:
>
> >>> num1: 6
> >== 6
> >>> num2: 5
> >== 5
> >>> op: :*
> >>> op num1 num2
> >== 30
> >>> print [op num1 num2]
> >30
>
> Still another way is to leave
> op: "*"
> and use:
> do reform [num1 op num2]
>
> Scott
>
JOY!!!!!!!!
>>
>> num1
== 5
>> num2
== 6
>> op
== *
>> do reform [num1 op num2]
== 30
>>
Is it OK for me to think that this is a PITA?
--
Duke Normandin
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?