[REBOL] Re: Using a Math oper. buried in a variable
From: mumpsoid:gmx at: 2-Apr-2009 14:30
On Thu, 2 Apr 2009, tomc wrote:
> Duke Normandin wrote:
> > Hey...
> >
> > I want to do something like:
> > num1: = 6
> > num2: = 5
> > op: "*"
> > print [num1 op num2]
> >
> > and get 30 as the result. How in the %^-#*& do you do this in REBOL?
> >
> > Not yet REBOLized in Alberta ;)
> >
> op: '*
> ...
> print reduce ...
>
>>
>> op: '*
== *
>> num1
== 5
>> num2
== 6
>> print [num1 op num2]
5 * 6
>>
???
--
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?