Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all
how to free the variable memory
hi
Are you mentioning about script variable?
If so,
Try like this
Set varialbeName = ;
Try with this
SET vVariableName=null();
or
SET vVariableName=;
Thank you
For reply,Both are correct
But what is difference between
Let vVariableName=null();
or
LET vVariableName=;
(and)
SET vVariableName=null();
or
SET vVariableName=;
HI
From help, you can understand clearly
The let statement has been created as a complement to the set statement, used for defining script variables. The let statement, in opposition to the set statement, evaluates the expression on the right side of the ' =' before it is assigned to the macro variable.
The word let may be omitted, but the statement then becomes a control statement. Such a statement without the keyword let must be contained within a single script row and may be terminated either with a semicolon or end-of-line.
The syntax is:
Note that the word let may be omitted.
Set x=3+4;
Let y=3+4
z=$(y)+1;
$(x) will be evaluated as ' 3+4 '
$(y) will be evaluated as ' 7 '