release
This function is applied on varible names which are variable references in order to release the reference (linkage) to the target variable.
Given no other lockups (other references linked to that variable, ongoing assignments calculated, ongoing transactions or in use by I/O function parameters) apply,
then the target variable may be deleted.
All released references to variables turn into regular simple variables containing void values and no members. The same variable may be used as a reference again
as long no array or structure members have been added to them.
References defined in local variables will be released automatically when execution of user-defined functions or B4P programs called with start() or include() have been completed.
Indirect parameter passing is disabled
Min. 1
No. | Type | Description |
---|---|---|
1, etc. code |
variable :string |
Variable name The specified variable(s) must reference another variable. |
Variable is not a reference
Variable is protected
Variable is a function parameter which cannot be released
Country[] = USA;
Country[State] = Pennsylvania;
Country[State,Town] = Wilkes Barre;
wb[] =^ Country[State,Town];
echo(wb[]);
release( wb[] );
Wilkes Barre