• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

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!
0
amai
Asked:
amai
1 Solution
 
objectsCommented:
havee a look at jep(lite) and see if it meets your needs

http://www.singularsys.com/jep/
http://jeplite.sourceforge.net/
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now