Boolean Expression Evaluator

  • Thread starter Thread starter Workaholic
  • Start date Start date
W

Workaholic

Hi,

I have an application which is reading a boolean expression from an
external file into a string. The string will equal something like "1 =
1" or "0 = 1". I need to be able to evaluate the boolean answer, but
have found that using command such as IIF, CBOOL, etc, will not accept
the string datatype. There seem to be lots of maths expression
evaluation tools and examples, but my need seems very simple and I'm
wondering if there is an easier way? If I could use something simple
such as IIF(<string>,<true>,<false>) it would be ideal

Thanks for your help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top