Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi friends,
What is Set & Let where we use Set & Let?
Hi,
with SET you just can assign a value, with LET you can make a calculation and assign the outupt.
SET varS=1+1; // varS = '1+1'
LET varL=1+1; // varL = 2
Hi,
with SET you just can assign a value, with LET you can make a calculation and assign the outupt.
SET varS=1+1; // varS = '1+1'
LET varL=1+1; // varL = 2
In addition to SebastianLettner see here The Magic of Variables for more details and explanations.
- Marcus
Hi
SET simply assigns what is after the equal to operator whereas let evaluates what is after the equal to operator.
Example:
2*2
Using SET the result will be 2*2
Using LET the result will be 4
Thanks
Satish
hi,
Set:
set variables are used define to define paths,strings etc
SET variable name =string;
it can be only used in script
and with Set only assign the value .
LET:
Let evaluates the expression
it can be created through script/UI.
Let variable name=Expression
It can be used in Chart calculations passing values inside the expression.