Running a formula during run time

Hi,

I'm trying to create a function that can run a formula during runtime.
E.g.

in the XML setup:
      <Variable>
            <Text>%IDEALWEIGHT-HIGH%</Text>
            <Formula>height*height*22.9</Formula>
            <Parameter>height</Parameter>
      </Variable>

this means, if the user input "%IDEALWEIGHT-HIGH%" in his pre-formatted text, I will take the formula and parameter specified, perform the formula, and take the result to replace the string "%IDEALWEIGHT-HIGH%".

Can anyone advise how can I do this?

Thanks!
amaiAsked:
Who is Participating?
 
objectsCommented:
havee a look at jep(lite) and see if it meets your needs

http://www.singularsys.com/jep/
http://jeplite.sourceforge.net/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.