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

[REBOL] Evaluating a maths expression in a string?

From: mat:eurogamer at: 29-Dec-2000 17:21

Hello, I was just thinking of adding another function to my IRC bot. A mathematical evaluation expression. The question is, if I get a string which contains a mathematical expression - how would you evaluate this and get the result? Of course some form of error? try [] would be involved in case something went wrong... -- Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee |