Java Question Dynamic Calculations

Mbonz

New Member
Licensed User
Longtime User
Hi all,

I would like to use the B4A engine to create a dynamic calculation using data from an array which contains, as an example CalcMatrix(1) = "2", CalMatric(2) = "+", CalcMatrix(3) = "3", CalMatric(4) = "*", CalMatric(5) = "2".

Basically, I want to step through the array and build a mathematical equation which would give me the result from 2+3*2 (or any other calculation I enter)

I am new to B4A so don't know where to start looking. Any pointers to some documentation or sample code would be appreciated.
 

Mbonz

New Member
Licensed User
Longtime User
Thanks. Exactly what I am trying to do myself. Don't suppose you have a code snippet that I can use to build a similar library?
 
Top