Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair
Panel
bgColor#ffffff
titleQ

How can I undefine a variable and free resources?

Panel
bgColor#ffffff
titleA

Since variables are managed in tables internally, a variable without an assigned value does not have an entry in the table and therefore the value nil. Using the assignment myvariable = nil an existing variable can be removed from the table again. Also previously occupied resources are released by this statement.

Panel
bgColor#ffffff
titleSee also...

Filter by label (Content by label)
showLabelsfalse
spaces@self
showSpacefalse
operatorAND
cqllabel = "netscript" and label = "variable" and space = currentSpace ( )
labelsnetscript variable