Command: SetStatus_dict

NEST HelpDesk Command Index NEST Quick Reference
Name:
SetStatus_dict - Modify a dictionary used as an object in oo-programming
Synopsis:
dict dict SetStatus -> -
Examples:
<< >> cvo dup << /c 1 >> SetStatus /c get --> 1
<< >> dup << /c 1 >> join /c get --> 1
{ << >> << /c 1 >> SetStatus } stopped
{3 npop true} {false} ifelse --> true
Description:
The operator overloads SetStatus and inserts the key value pairs
of the second dictionary into the first dictionary. This is the same functionality
as the one of operator join. However, SetStatus raises an error if the first
dictionary has not been labeled by operator cvo as an object of oo-programming
before. The idea is that use of SetStatus should be reserved for objects of
oo-programming not regular dictionaries to enhance the readability of SLI code.
See the documentation of operator cvo for more details.
Parameters:
The operator modfies the first argument
Author:
Helias, Diesmann
FirstVersion:
2006-06-26
SeeAlso:
Source:
/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/oosupport.sli
NEST HelpDesk Command Index NEST Quick Reference

© 2004 The NEST Initiative