Robert A LaBudde lcfltd.com> writes: > before Lotus 1-2-3 came out!), and wrote an expression evaluator in > FORTRAN IV using in-fix notation. I first wrote one in RPN notation. Speaking of FORTRAN, there was a neat shortcut expression evaluator designed for FORTRAN I, it is on Wikipedia. I have tested it (just add parens to cope with deeper expressions - eventually buffer size quickly limits this in small micros - in FORTRAN the limit was likely the usable line length on a punched card): See under 'Alternatives to Dijkstra's Algorythm': http://en.wikipedia.org/wiki/Operator-precedence_parser Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist