[Mono-list] eval statement

Gonia Eric - egonia Eric.Gonia@acxiom.com
Wed, 21 Jan 2004 11:41:17 -0600

Does anyone have a recommendation on how I can create an eval method similar
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,

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
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.