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
 
Back
Top