A general expression evaluator

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
HGAutomator
Posts: 202
Joined: Thu Jul 16, 2020 5:42 pm
DBs Used: DBF

A general expression evaluator

Post 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.
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: A general expression evaluator

Post by andyglezl »

Andrés González López
Desde Guadalajara, Jalisco. México.
HGAutomator
Posts: 202
Joined: Thu Jul 16, 2020 5:42 pm
DBs Used: DBF

Re: A general expression evaluator

Post 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.
Post Reply