Command: size

NEST HelpDesk Command Index NEST Quick Reference

Name:
 size - Returns the size of an array/string.
Synopsis:
 array size -> n array
  string size -> n string
Description:
 Returns the number of elements (similar to length) of
  an object and additionally the object itself.
Examples:
 [1 2] size -> 2 [1 2]
  (hello) size -> 5 (hello)
Author:
 docu by Sirko Straube
SeeAlso:reserve shrink allocations length capacity
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slidata.cc

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative