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: 357
Last edited:

spsp

Active Member
Licensed User
Longtime 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: 375

spsp

Active Member
Licensed User
Longtime User
Hello,

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

spsp
 

Attachments

  • clsCalc.bas
    19.8 KB · Views: 292
Top