Executing dynamic user defined formula/string

yoachan

Member
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.
Code:
    <script language="javascript">
        var vA = 10, vB = 20, vC = 30, vResult = 0;
        var vFormula = "vResult = vA * (vB + vC);";

        eval (vFormula);
    </script>
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
 
Thanks for your reply.
I've open the url you gave me, but Progress Knowledge Base give no result for it. It's just an empty frame inside of the Progress Knowledge Base page...
I've tried using Opera, FireFox, and IE, but still nothing is displayed inside the frame...

Regards
YoChan
 
Back
Top