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

[REBOL] Re: let's re-visit math oper. in a var.

From: compkarori:g:mail at: 4-Apr-2009 4:57

If you wanted to write a single line calculator I would let the user input an entire arithmetic expression. Then parse it to make sure it was syntactically correct ( using the example from the parse documentation pages ) And then 'do it. This is what I did when I added a line calculator to my applet that does prescribing .. to allow the users to calculate doses. On Sat, Apr 4, 2009 at 12:17 PM, Tim Johnson <tim-johnsons-web.com> wrote:
> On Friday 03 April 2009, Gregg Irwin wrote: > >> I think the biggest <click> in my head was when I finally understood >> that there is no code in REBOL, there is only data that is evaluated. > =A0Very lispish..... "Rebol is the Blue Pill" > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- Graham Chiu http://www.synapsedirect.com Synapse - the use from anywhere EMR.