If you use Cheetah, please support the project and register by clicking here:


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.

If you use Cheetah, please support the project and register by clicking here: