Is there any way that I can allow my user to enter his own formula to variable vFormula and let PROGRESS to evaluate it? Or just make it simple, can progress execute some string of syntax that we gave?
As an example we had 'eval' syntax on javascript.
then magically, we'll get 500 as the result from vResult
I want to do the 'eval' thing in PROGRESS/OpenEdge....
any one have any ideas????
Any help will be apreciated
Thanks in advanced.
Ragards
YoChan
PS. I'm working on WebSpeed/OE 10.1B
As an example we had 'eval' syntax on javascript.
Code:
<script language="javascript">
var vA = 10, vB = 20, vC = 30, vResult = 0;
var vFormula = "vResult = vA * (vB + vC);";
eval (vFormula);
</script>
I want to do the 'eval' thing in PROGRESS/OpenEdge....
any one have any ideas????
Any help will be apreciated
Thanks in advanced.
Ragards
YoChan
PS. I'm working on WebSpeed/OE 10.1B