Posted on 1997-05-30
How can I pass function names into a variable then
execute the variable. Here's a Foxpro example of what
I need to do:
&cval -- This line executes the fuction test.
I'm storing serveral different function names within a database
field. I need to pass the function into a delphi variable and
have the function processed. Some of the values passed in
may look like this
function1(abc) AND function2(xyz,123)
I would place it in a variable such as:
cval = 'function1(abc) AND function2(xyz,123)'
then execute the line like so:
if &cval then........
This is how it works in Fox. If Delphi cannot support
syntax similar to Fox, perhaps there is a component that
I can store the information into a property and the
component executes that macro property.
Component DDEclientconv is close but isn't what I'm
looking for. I could really use some help. Thank you.