| 1 | |
| 2 | <refentry id="plusbecomes"> |
| 3 | <indexterm id="IndexPlusbecomes"><primary>+=</primary></indexterm> |
| 4 | <refentryinfo><title>Instrument Control:Initialization and Reinitialization</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>+=</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>+=</refname> |
| 13 | |
| 14 | <refpurpose> |
| 15 | Performs add and assignment. |
| 16 | </refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | <refsect1> |
| 20 | <title>Syntax</title> |
| 21 | <synopsis>ares <command>+=</command> xarg</synopsis> |
| 22 | <synopsis>ires <command>+=</command> iarg</synopsis> |
| 23 | <synopsis>kres <command>+=</command> karg</synopsis> |
| 24 | <synopsis>table [ kval] <command>+=</command> karg</synopsis> |
| 25 | </refsect1> |
| 26 | |
| 27 | <refsect1> |
| 28 | <title>Description</title> |
| 29 | <para> |
| 30 | Performs an add and assign. |
| 31 | </para> |
| 32 | </refsect1> |
| 33 | |
| 34 | <refsect1> |
| 35 | <title>Initialization</title> |
| 36 | <para> |
| 37 | <emphasis>+=</emphasis> - Adds the value of the expression |
| 38 | <emphasis>iarg</emphasis> (<emphasis>karg, xarg</emphasis>) into |
| 39 | the named result. This provides a means of saving an evaluated |
| 40 | result for later use. |
| 41 | </para> |
| 42 | </refsect1> |
| 43 | |
| 44 | <refsect1> |
| 45 | <title>Examples</title> |
| 46 | <para> |
| 47 | Here is an example of the plusbecomes opcode. It uses the file <ulink url="examples/reverb.csd"><citetitle>reverb.csd</citetitle></ulink>. |
| 48 | |
| 49 | <example> |
| 50 | <title>Example of the plusbecomes opcode.</title> |
| 51 | |
| 52 | <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> |
| 53 | <xi:include href="examples-xml/reverb.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 54 | </example> |
| 55 | |
| 56 | </para> |
| 57 | </refsect1> |
| 58 | |
| 59 | <refsect1> |
| 60 | <title>See also</title> |
| 61 | <para><link linkend="ControlReinitn"><citetitle>Initialization and Reinitialization</citetitle></link></para> |
| 62 | </refsect1> |
| 63 | |
| 64 | <refsect1> |
| 65 | <title>Credits</title> |
| 66 | <simplelist> |
| 67 | <member>Author: &namejohn;</member> |
| 68 | <member>University of Bath, and Codemist Ltd.</member> |
| 69 | <member>Bath, UK</member> |
| 70 | <member>2013</member> |
| 71 | </simplelist> |
| 72 | <para>New in version 6.00</para> |
| 73 | </refsect1> |
| 74 | </refentry> |