OpenMusic Reference
length

length
(lisp module) -- returns the number of elements in sequence
Syntax
length sequence
Inputs
| name | data type(s) | comments |
|---|---|---|
| sequence | list |
Output
| output | data type(s) | comments |
|---|---|---|
| first | a non-negativeinteger |
Description
length does exactly what it says- it returns the number of 1st-level elements in the list it is passed.
| Prev | Home | Next |
|---|---|---|
| last-n | Up | linear-fun |