OpenMusic

Visual Programming | Computer-Assisted Composition

OpenMusic Reference

Prev| | Next


second

second

(LISP function) -- returns the second element of a list, using one-based addressing

Syntax

second list

Inputs

name data type(s) comments
list a list or tree  

Output

output data type(s) comments
first any  

Description

This function returns the cadr of list , the second element of the list. In this case, ‘second’ refers to human numbering, where addresses start with one, and not zero.

Note LISP functions
   

The basic LISP functions are too numerous to document comprehensively in this manual. As an aid to the neophyte, the most commonly used have been included in this documentation, but they represent a small fraction of the total functionality of the MCL environment. Numerous on-line resources exist, for instance the online version of Common Lisp the Language, 2nd Edition.


Prev Home Next
save-as-midi Up select