15
edits
Chris-barry (talk | contribs) |
Chris-barry (talk | contribs) (→size()) |
||
Line 4: | Line 4: | ||
== size() == | == size() == | ||
Usage: | '''Usage:''' | ||
size(''object''); | |||
size(''object''); | |||
where ''object'' may be a ''string'', a ''vector'' or a ''hash''. | where ''object'' may be a ''string'', a ''vector'' or a ''hash''. | ||
'''Return value''' | |||
An intger equal to the number of characters in a ''string'' argument or the number of elements in a ''vector'' or ''hash''. | |||
If the argument is a non-string scalar then the error '''object has no size()''' will be generated. | If the argument is a non-string scalar then the error '''object has no size()''' will be generated. |
edits