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: henrikmk:gm:ail at: 2-Apr-2009 22:48

On Thu, Apr 2, 2009 at 10:44 PM, Gregg Irwin <gregg-pointillistic.com> wrote:
> > HMK> Forgetting to REDUCE: > >>>> print reduce [op num1 num2] > HMK> == 30 > > Hmmm, what REBOL version and OS are you on Duke? The reduce should not > be required. My post was copied from a live console. Is it required on > OS X Henrik?
Before you close your console, what is your value of 'op? If it's a word, then print will not evaluate without reduce. If it is a function, then it will evaluate without reduce. I know there was an example earlier where 'op would be a function, and so it shouldn't be mixed up. -- Regards, Henrik Mikael Kristensen