Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I am working on LET and SET statements.
in the following example, what would be the value of 'z' variable.
Set x=3+4; /
Let y=$(x)*3
z=$(y)
z will be 3+4*3 = 15
or
(3+4) *3 = 21
Thanks.
Regards
Showing up as 15 when I run a sample with this code
Set x=3+4;
Let y=$(x)*3;
z=$(y)
Hi
Set x=3+4;
Let y=$(x)*3;
z=$(y);
z =15
LET x=3+4;
Let y=$(x)*3;
z=$(y);
z= 21
Use Set to literal interpretation, and Let for equations, as the case.