Page 1 of 1

A general expression evaluator

Posted: Wed Sep 07, 2022 2:23 pm
by HGAutomator
Hi,

I know there were many examples of dialog boxes over the years that return a general expression, like the results of an arithmetic operator, or a function of today's date, etc. I think generally the code Blockifies the input expression, and evaluates it.

But I've searched through everything, with key phrases similar to

expression evaluator

, but it's not returning anything useful.

Is there some existing code that pops up a simple Read or Dialog, that returns the results of an input expression?

I know it's around in some libraries, but just cannot locate it.

Re: A general expression evaluator

Posted: Wed Sep 07, 2022 7:41 pm
by andyglezl

Re: A general expression evaluator

Posted: Wed Sep 07, 2022 11:18 pm
by HGAutomator
Yep, that's the general approach to the evaluation. But I think there were popup dialogs already written that leverage these techniques.

Oh, well. I'll find it.

I'm having a problem with Harbour Click! right now, which is more serious. Will open a different thread.