undef

Command: undef


Synopsis
dict key undef -> -

File
sli/slidict.cc
Parameters

dict - a (possibly empty) dictionary
key - a literal name to be removed.

Diagnostics

None.

Author
docu edited by Marc Oliver Gewaltig and Sirko Straube
Description

undef removes the definition of a name from the supplied dictionary.
The name does not have to be present in the dicitonary.

Examples

SLI ] /d << /a 1 /b 2 >> def
SLI ] d info
- --------------------------------------------------
Name Type Value
- --------------------------------------------------
a integertype 1
b integertype 2
- --------------------------------------------------
Total number of entries: 2
SLI ] d /b undef
SLI ] d info
- --------------------------------------------------
Name Type Value
- --------------------------------------------------
a integertype 1
- --------------------------------------------------
Total number of entries: 1