| 1 | |
| 2 | <refentry id="ftfree"> |
| 3 | <indexterm id="Indexftfree"><primary>ftfree</primary></indexterm> |
| 4 | <refentryinfo><title>Table Control</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>ftfree</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>ftfree</refname> |
| 13 | <refpurpose> |
| 14 | Deletes function table. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Deletes function table. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis><command>ftfree</command> ifno, iwhen</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>ifno</emphasis> -- the number of the table to be deleted |
| 34 | </para> |
| 35 | <para> |
| 36 | <emphasis>iwhen</emphasis> -- if zero the table is deleted at init |
| 37 | time; otherwise the table number is registered for being deleted at |
| 38 | note deactivation. |
| 39 | <note>If the table is deleted at init time it is possible that an |
| 40 | earlier opcode that uses the table will fail or crash on a |
| 41 | performance cycle. It is the user's responsibility to avoid this |
| 42 | error.</note> |
| 43 | </para> |
| 44 | |
| 45 | </refsect1> |
| 46 | |
| 47 | <refsect1> |
| 48 | <title>Examples</title> |
| 49 | <para> |
| 50 | Here is an example of the ftfree opcode. It uses the file <ulink url="examples/ftfree.csd"><citetitle>ftfree.csd</citetitle></ulink>. |
| 51 | <example> |
| 52 | <title>Example of the ftfree opcode.</title> |
| 53 | <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> |
| 54 | <xi:include href="examples-xml/ftfree.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 55 | </example> |
| 56 | <screen> |
| 57 | instr 1: gitempTable = 101.000 |
| 58 | B 0.000 .. 3.000 T 3.000 TT 3.000 M: 0.50000 0.50000 |
| 59 | INIT ERROR in instr 1: Invalid ftable no. 101.000000 |
| 60 | instr 1: gitempTable = 101.000 |
| 61 | Error deleting ftable 101 |
| 62 | B 3.000 - note deleted. i1 had 1 init errors |
| 63 | B 3.000 .. 5.000 T 5.000 TT 5.000 M: 0.00000 0.00000 |
| 64 | </screen> |
| 65 | </para> |
| 66 | </refsect1> |
| 67 | |
| 68 | <refsect1> |
| 69 | <title>See also</title> |
| 70 | <para><link linkend="TableTop"><citetitle>Function Table Control</citetitle></link></para> |
| 71 | </refsect1> |
| 72 | |
| 73 | <refsect1> |
| 74 | <title>Credits</title> |
| 75 | <para> |
| 76 | <simplelist> |
| 77 | <member>Authors: &namesteven;, &nameistvan;</member> |
| 78 | <member>2005</member> |
| 79 | </simplelist> |
| 80 | </para> |
| 81 | </refsect1> |
| 82 | </refentry> |