getsize
From Pdpedia
| {{{example_image}}} caption | |
| Description: | get the size of an array |
|---|---|
| Abbreviation: | |
| Library: | vanilla |
| Author(s): | Miller S. Puckette and others |
| Developer(s): | |
| Release version: | |
| Release date: | 2007 |
| Status: | active |
| Dependencies: | |
| License: | BSD |
| Website: | http://crca.ucsd.edu/~msp/software.html |
| Programming Language: | |
| Platform(s): | GNU/Linux, Mac OS X, Windows |
| Language: | English |
| Data type(s): | message |
| Distribution(s): | DesireData, PDa, Pd-extended, Pd-vanilla, puredata debian package, pure:dyne |
-- get number of elements of an array
When sent a pointer, "element" looks up a field, which should be an array, and outputs the number of elements of the array. The template and field name are specified as creation arguments.
The smallest possible size is one.
inlet for pointer
here we just get the value of y.
see also:
arguments: template, field name
updated for Pd version 0.40
Contents |

