Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, how can I remove variables from script level?
If you assign a variable to null() it will be removed :
Let vYourVariable = null() ;
As Bill said you only need to remove the variable value, this also works:
Let vYourVariable =;
So far I know, if the variable is already created you have to manually delete it from the document.
If this question is more about deleting the existing variable objects (and not resetting their value) that you see in the Variable Overview window, then the only way would be to click on individual variable and click remove one by one.
Hi,
You can try like this
LET vVariableName =;
OR
LET vVariableName = Null();
Regards,
Jagan.
These techniques, including
Set vVar =;
will remove the variable when the script terminates, providing that they did not exist before the script started. So you may need to delete the variables manually for the "deletion" to work.
This is so that you can remove script-only variables that are not required in the front end.
Hi Gireesh,
1)First i have a doubt y you wan't to delete variables? those are not harm full to your app
just skip the usage of variables in Expression
2) All variables are located at Settings->Variable over view(Ctrl+Alt+V)->here you can select the variable and click on Remove button and save the app
You may have variables used in your load script that are not relevant to the front end. The delete options outlined above will remove these when the script run is complete. That reduces the clutter in the variable overview or in the expression editor variable list in the front end. It no more than housekeeping and (IMO) good practice.
Thank you all