I am trying to write a 'CodeBlock' function (or procedure) in Delphi 3.0, like one in CA-Clipper 5.2 / 5.3. That means I want to bo able to assign to a string variable a value like :
s := 'Writeln(a); writeln(2*a);'
and later to execute it in the same way as in Clipper :
where <parameter> are data, over which is evaluated the 'Code Block').
Is this possible in Delphi 3.0 and how can I achieve it ?