• Mark Olesen's avatar
    ENH: add conditionals to #eval (string to scalar) · 9e6683f7
    Mark Olesen authored
         ($radius > 10) ? sin(degToRad(45)) : cos(degToRad(30))
    - protect division and modulo against zero-divide.
    - add scanner/parser debugging switches in the namespace,
      selectable as "stringToScalar". For example,
        debug parser:  foamDictionary -debug-switch stringToScalar=2
        debug scanner: foamDictionary -debug-switch stringToScalar=4
        debug both:    foamDictionary -debug-switch stringToScalar=6
api-info 22 Bytes