Welcome! Log In Create A New Profile

Advanced

Parsing and evaulate math expression

Posted by kontinuz 
kontinuz
Parsing and evaulate math expression
February 07, 2012 08:05AM
Hi,

How I can in WinDev 12 for WIN parsing and evaulatin math expression? For example:

x = 12
y = 15
z = 3*x + 4/y

Expression is string, and enduser can changing value for x and y, but he can change and expression also.

Thanks in advance.
Steven Sitas
Re: Parsing and evaulate math expression
February 07, 2012 11:25AM
Hi,

take a look at : [doc.pcsoft.fr]

Steven Sitas
Corrado.pcs.crosspost
Re: Parsing and evaulate math expression (no replies)
February 07, 2012 11:49AM
Look the statement 'Compile'.

Hello

Message forwarded from pcsoft.us.windev
kontinuz
Re: Parsing and evaulate math expression
February 08, 2012 08:15AM
Thanks a lot. I'll try that statement.
Regards.
kontinuz
Re: Parsing and evaulate math expression
February 08, 2012 12:22PM
It works very well. Thanks again for the advice.
Regards.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: