undef#
- swordfish.function.undef()#
Release variables or function definitions from the memory. You can also release a local variable (VAR) from the memory using “= NULL”.
- Parameters:
obj (Constant) – A string or a string vector indicating the names of objects to be undefined. To undefine all the variables in a category, use the unquoted “all” for obj.
objType (Constant, optional) –
Type of objects to be undefined. The types can be: VAR (variable), SHARED (shared variable) or DEF (function definition), by default DFLT.
To delete all user-defined objects in the system except shared variables, use “undef all”.
objAddr (Constant, optional) – _description_, by default DFLT