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

[REBOL] Re: Using a Math oper. buried in a variable

From: mumpsoid:gmx at: 2-Apr-2009 14:41

On Thu, 2 Apr 2009, Henrik Mikael Kristensen wrote:
> >>> num1 > > == 5 > >>> num2 > > == 6 > >>> op > > == * > >>> print [op num1 num2] > > * 5 6 > >>> > > > > I can't win today..... Must be something wrong with my interpreter. > > Forgetting to REDUCE: > > >> print reduce [op num1 num2] > == 30
MORE JOY!!!!!!
>> print reduce [op num1 num2]
30
>>
None of this is intuitive though, is it? Anyway, thanks for the solution. -- 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?