[Mono-list] eval statement

Jaroslaw Kowalski jaak@zd.com.pl
Wed, 21 Jan 2004 22:01:16 +0100

You can download nant source code (nant.sf.net) and look at expression
evaluator there. It's quite well separated so it can be used in other


----- Original Message ----- 
From: "Gonia Eric - egonia" <Eric.Gonia@acxiom.com>
To: <mono-list@ximian.com>
Sent: Wednesday, January 21, 2004 6:41 PM
Subject: [Mono-list] eval statement

> Does anyone have a recommendation on how I can create an eval method
> to perl's or php's.
> I would like to take a string like "(7-1)/2" and pass it to a method that
> would return the value of the mathematical operation.
> Thanks for any help you can provide,
> Eric
> **********************************************************************
> The information contained in this communication is
> confidential, is intended only for the use of the recipient
> named above, and may be legally privileged.
> If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination,
> distribution, or copying of this communication is strictly
> prohibited.
> If you have received this communication in error,
> please re-send this communication to the sender and
> delete the original message or any copy of it from your
> computer system. Thank You.
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list