Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I would like to clarify this query.
Can't I use Expressions in Trace as below?
Trace P=$(=Pick(3,$(vYesNo)));
Trace T=$(=Today());
I was able to do it thru Variables. But thought of verifying on this.
As far as I know, the dollar sign expansion with expression can't be used anywhere in the script, hence it can't be used in TRACE statements neither.
I think it's a front end thing only.
I think you are right, it seems that only variables are working with TRACE, unless it is a plan text
Hi Sunny,
I just want to trace few outputs in the Script.
Instead of defining a temp variable and displaying it in Trace, I tried giving the expression directly in the Trace and was expecting the result.
But it returns null.
Thanks for your confirmation, Sunny.
Dear Saran7de,
Trace with variable return variable value.
Trace with without variable return value as a string.
Kind regards,
Ishfaque Ahmed
Thank you for the response, Ishfaque Ahmed
As far as I know, the dollar sign expansion with expression can't be used anywhere in the script, hence it can't be used in TRACE statements neither.
I think it's a front end thing only.
Thank you, Stefan.
I just realized, I was trying dollar-expansion in Trace.
saran7de wrote:
Thank you, Stefan.
I just realized, I was trying dollar-expansion in Trace.
Just to clarify:
A dollar sign expansion of a variable is working in the script in general, but I believe the dollar sign expansion with expression is not working in the script.
Thank you swuehl
Hello, thank you for your reply, but after several searches I can not find where the scope of the dollar sign expansion is defined. This seems to me unfortunately as a problem of the documentation that it would be good to review. Thank you for your attention.