Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Whats the difference? When should I use SET, and when should i use LET?
Thanks in advance,
Rhys Bradbury
Those keywords determine how code in the script is interpreted after the equals sign, when defining variables.
SET will literally assign the written code as a string, while LET will evaluate it as a expression before placing it into the variable. If used correctly, then you can build more advanced stuff like defining functions inside a variable, etc.
Please take a look at QlikView's Help and other already answered posts about this topic:
http://community.qlik.com/message/193695#193695
Regards.
Those keywords determine how code in the script is interpreted after the equals sign, when defining variables.
SET will literally assign the written code as a string, while LET will evaluate it as a expression before placing it into the variable. If used correctly, then you can build more advanced stuff like defining functions inside a variable, etc.
Please take a look at QlikView's Help and other already answered posts about this topic:
http://community.qlik.com/message/193695#193695
Regards.