Command: references

NEST HelpDesk Command Index NEST Quick Reference

Name:
 references - Returns the number of references to a reference counted object.
Synopsis:
 array references -> array  integer
          dict  references -> dict   integer
Description:
 references returns the number of references to
a reference counted object including potential self references.
Examples:
 << /x 0 >> dup references -> dict dict 2
               [ 0 ] dup references -> array array 2
SeeAlso:selfreferences testsuite::test_dict_basic_self_reference
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/typeinit.sli

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative