Hi everybody

I'm trying to eval a block of code. Specifically I want to store many lines of code in a var to eval them later, like:

Code:
%cmd = echo -a first line
%cmd = %cmd $+ echo -a second line
%cmd = %cmd $+ echo -a last line
...
$eval(%cmd)

... maybe even separating the lines with | or $crlf or something else, but I've gotten no success yet frown

Any ideas?

Last edited by PedroFialho; 27/08/10 09:59 PM.