Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
1adam_haj
Contributor III
Contributor III

Set vs let variable

Hello guys, simple question, what is the difference between Set Variable Statement and Let Variable Statement?
And is there any difference when i will set the variable in the Load in script or in the variable editor ?

Thank´s for answers

1 Solution

Accepted Solutions
OmarBenSalem

To put in very simple words:

Set 5+3 will return 5+3 (the string)

Let 5+3 will return 8 (performs a calculation)

View solution in original post

4 Replies
sunny_talwar

check it out here:

QlikView Addict: SET vs. LET

dberkesacn
Partner - Creator III
Partner - Creator III

basically: Set stores the value as a text, Let evaluates an expression.

OmarBenSalem

To put in very simple words:

Set 5+3 will return 5+3 (the string)

Let 5+3 will return 8 (performs a calculation)

1adam_haj
Contributor III
Contributor III
Author

Yes, i get it now. Thank´s guys