| 1 | |
| 2 | <refentry id="array"> |
| 3 | <indexterm id="IndexArray"><primary>array</primary></indexterm> |
| 4 | |
| 5 | <refentryinfo><title>Table Control:Table Queries</title></refentryinfo> |
| 6 | <refmeta> |
| 7 | <refentrytitle>array</refentrytitle> |
| 8 | </refmeta> |
| 9 | |
| 10 | <refnamediv> |
| 11 | <refname>array</refname> |
| 12 | <refpurpose> |
| 13 | Deprecated. |
| 14 | </refpurpose> |
| 15 | </refnamediv> |
| 16 | |
| 17 | <refsect1> |
| 18 | <title>Description</title> |
| 19 | <para> |
| 20 | Generate a vector (one-dimensional k-rate array) with initial values. |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Syntax</title> |
| 26 | <synopsis>karray[] <command>array</command> ival1, ival2,.....ivaln</synopsis> |
| 27 | </refsect1> |
| 28 | |
| 29 | <refsect1> |
| 30 | <title>Initialization</title> |
| 31 | <para> |
| 32 | <emphasis>ival1,...ivaln</emphasis> -- values to place in the vector. |
| 33 | </para> |
| 34 | </refsect1> |
| 35 | |
| 36 | <refsect1> |
| 37 | <title>Examples</title> |
| 38 | <para> |
| 39 | Here is an example of the array opcode. It uses the file <ulink url="examples/array.csd"><citetitle>array.csd</citetitle></ulink>. |
| 40 | <example> |
| 41 | <title>Example of the array opcode.</title> |
| 42 | <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para> |
| 43 | <xi:include href="examples-xml/array.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 44 | </example> |
| 45 | </para> |
| 46 | </refsect1> |
| 47 | |
| 48 | <refsect1> |
| 49 | <title>See Also</title> |
| 50 | <para> |
| 51 | <link linkend="vectorial"><citetitle></citetitle>Vectorial opcodes</link> |
| 52 | <link linkend="fillarray"><citetitle></citetitle>fillarray</link> |
| 53 | </para> |
| 54 | </refsect1> |
| 55 | |
| 56 | <refsect1> |
| 57 | <title>Credits</title> |
| 58 | <para> |
| 59 | <simplelist> |
| 60 | <member>Author: &namejohn;</member> |
| 61 | <member>Codemist Ltd</member> |
| 62 | <member>2013</member> |
| 63 | </simplelist> |
| 64 | </para> |
| 65 | <para>New in version 6.00</para> |
| 66 | </refsect1> |
| 67 | </refentry> |