i made button component in runtime and i want every button clicked there executing unique procedure.
for example
exec('showmessage('+quotedstr('hello word')+');');
How to executing string as procedure in delphi 7 like eval in php or livebinding in delphi xe3?
evalin php, and you're maybe missunderstanding what LiveBinding isevalis almost always the wrong way to go about things. :P Does Delphi have any equivalent to lambdas, anonymous functions, or whatever?eval. Even if it did, eval'ing code out of a database is all kinds of brokenness waiting to happen. Step back and think about what you really want to do...and how that's likely to be feasible in a language that can't interpret itself on the fly.