Closed themolecule closed 9 years ago
@themolecule Are you sure that lowercase function name is valid?
@themolecule I checked out, lowercase functions do not work, so I think this is valid behavior.
@themolecule We can throw more descriptive exception messages, such as Lowercase function calls are invalid
@themolecule Lowercase functions work now (they were transformed to uppercase in formula parser, but there was small error in recognizing such functions). So please check it out in latest version.
Great... Thanks!
Lowercase functions are not valid, but easy enough to parse.
The exception that was being thrown was not helpful, which made debugging difficult. I was generating an xls file with > 1000 lines, so finding that tiny bug took me a while.
The implementation in pear supported lowercase, so porting code that used it had these latent bugs.
Thanks so much for your help!
@themolecule Thank you too and feel free to report issues or contribute.
This may generate an invalid xls equation, but shouldn't necessarily cause an exception:
It would seem that if the expression is not spelled as uppercase SUM, the parser fails to recognize it and throws an exception.