undef - Remove a key from a dictionary.
dict key undef -> -
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
undef removes the definition of a name from the supplied dictionary.
The name does not have to be present in the dicitonary.
dict - a (possibly empty) dictionary
key - a literal name to be removed.
None.
docu edited by Marc Oliver Gewaltig and Sirko Straube
/var/www/debian/nest/nest-simulator-2.20.0/sli/slidict.cc