8.5 #del

Syntax:

#del $var

#del is the opposite of #set. It deletes a local variable. Its usage is just like Python's del statement:

#del $myVar
#del $myVar, $myArray[5]

Only local variables can be deleted. There is no directive to delete a #set global variable, a searchList variable, or any other type of variable.