[REBOL] Re: Using a Math oper. buried in a variable
From: semseddinm:bircom at: 3-Apr-2009 16:48
> -----Original Message-----
> From: rebol-bounce-rebol.com [mailto:rebol-bounce-rebol.com] On Behalf
> Of Wall, Scott
> Sent: Friday, April 03, 2009 3:58 PM
> To: rebolist-rebol.com
> Subject: [REBOL] Re: Using a Math oper. buried in a variable
>
> Gregg wrote:
> > As with most things in REBOL, there are a number of ways to do what
> > you want. Here's another one:
> ...
> >>> op: :*
>
> I'm now trying to use this form in my program. But I'm having trouble
> when it comes to dividing. Here is what I tried doing and how it
> failed:
>
> >> op: :/
> ** Syntax Error: Invalid word-get -- :
> ** Near: (line 1) op: :/
>
> Any ideas on how to get this to work?
>
> Scott.
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
You can try this one:
p: :divide
and also you can try "trace on" to see what happens.
Sems