B4J Library Calc

Hello

This a library to calc (evaluate) expression. (Source Code in post #3)
it supports string and number, operators with standard priority, parenthesis, user-defined functions and user-defined variables.

jar file, documentation (thanks to informatix for libdoc) and sample full documented in archive

Copy spcalc.jar and spcalc.xml in additionnal folder,

spsp
 

Attachments

  • spcalc.zip
    15.7 KB · Views: 280
Last edited:

spsp

Member
Licensed User
Hello,

spcalc library

New version 0.20.

Optimization and enhanced errors messages.

Calc : evaluate string expression.

Supports :
  • string and number
  • operators +, -, *, /, ^, % and &
  • parenthesis
  • user-defined variables
  • user-defines function
spsp
 

Attachments

  • spcalc.zip
    15.7 KB · Views: 299

spsp

Member
Licensed User
Hello,

Here is the source code (works with B4J and B4A, perhaps BAI).

spsp
 

Attachments

  • clsCalc.bas
    19.8 KB · Views: 200
Top