Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
i would like to trace the value of a variable +1 without creating a new one with +1 added....
I've already tried these approach:
set x=4;
Trace $(x)+1; ----> Result: "4+1"
Trace $(x+1); -----> Result: "empty"
I would like to see the result "5" in my script loading windows....
How to achieve this ?
May be using another variable
SET x = 4;
LET y = $(x) + 1;
TRACE $(y);
is this the only way ?
As i wrote i wouldn't create a new variable...
I guess not, it seems that TRACE doesn't really allow you to perform a calculations... all the calculations have to be perform ahead of time.... the only thing it can do is to evaluate the value of a already created calculation using dollar sign expansion.