I think it would only directly work if there are a possibilty to create an adhoc-variable within the script, like:
Therefore a workaround would be needed, maybe with a subroutine like this which could be outsourced in an include-variable for a global using:
sub ShowTraceStament(typ, statement)
if '$(typ)' = 'string' then
let vTrace = '$(statement)';
let vTrace = $(statement);
call ShowTraceStament('string', 'hallo welt')
call ShowTraceStament('numeric', 'weekday(today())')
And those ad-hoc-variables don't work in the script, do they? For that's what I tried ...
Thanks for helping! A subroutine seems to be a little much ado for that, though - and it wouldn't really make things easier for that's pretty much what I have now.
I will try putting some more code in that INCLUDE, that should do the job well enough.
Thanks a lot!