<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>tableicopy</title> <link rel="stylesheet" type="text/css" href="csound.css" /> <link rel="stylesheet" type="text/css" href="syntax-highlighting.css" /> <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /> <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" /> <link rel="up" href="OpcodesTop.html" title="Orchestra Opcodes and Operators" /> <link rel="prev" href="tablei.html" title="tablei" /> <link rel="next" href="tableigpw.html" title="tableigpw" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">tableicopy</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="tablei.html">Prev</a> </td> <th width="60%" align="center">Orchestra Opcodes and Operators</th> <td width="20%" align="right"> <a accesskey="n" href="tableigpw.html">Next</a></td> </tr> </table> <hr /> </div> <div class="refentry"> <a id="tableicopy"></a> <div class="titlepage"></div> <a id="IndexTableicopy" class="indexterm"></a> <div class="refnamediv"> <h2> <span class="refentrytitle">tableicopy</span> </h2> <p>tableicopy — Simple, fast table copy opcode. </p> </div> <div class="refsect1"> <a id="idm281472881557208"></a> <h2>Description</h2> <p> Simple, fast table copy opcode. </p> </div> <div class="refsect1"> <a id="idm281472881515720"></a> <h2>Syntax</h2> <pre class="synopsis"><span class="command"><strong>tableicopy</strong></span> idft, isft</pre> </div> <div class="refsect1"> <a id="idm281472881513672"></a> <h2>Initialization</h2> <p> <span class="emphasis"><em>idft</em></span> -- Destination function table. </p> <p> <span class="emphasis"><em>isft</em></span> -- Number of source function table. </p> </div> <div class="refsect1"> <a id="idm281472881511160"></a> <h2>Performance</h2> <p> <span class="emphasis"><em>tableicopy</em></span> -- Simple, fast table copy opcodes. Takes the table length from the destination table, and reads from the start of the source table. For speed reasons, does not check the source length - just copies regardless - in "wrap" mode. This may read through the source table several times. A source table with length 1 will cause all values in the destination table to be written to its value. </p> <p> <span class="emphasis"><em>tableicopy</em></span> cannot read or write the guardpoint. To read it use <a class="link" href="table.html" title="table"><em class="citetitle">table</em></a>, with <span class="emphasis"><em>ndx</em></span> = the table length. Likewise use table write to write it. </p> <p> To write the guardpoint to the value in location 0, use <a class="link" href="tablegpw.html" title="tablegpw"><em class="citetitle">tablegpw</em></a>. </p> <p> This is primarily to change function tables quickly in a real-time situation. </p> </div> <div class="refsect1"> <a id="idm281472881504984"></a> <h2>See Also</h2> <p> <a class="link" href="tablecopy.html" title="tablecopy"><em class="citetitle">tablecopy</em></a>, <a class="link" href="tablegpw.html" title="tablegpw"><em class="citetitle">tablegpw</em></a>, <a class="link" href="tablemix.html" title="tablemix"><em class="citetitle">tablemix</em></a>, <a class="link" href="tableigpw.html" title="tableigpw"><em class="citetitle">tableigpw</em></a>, <a class="link" href="tableimix.html" title="tableimix"><em class="citetitle">tableimix</em></a> </p> </div> <div class="refsect1"> <a id="idm281472881499032"></a> <h2>Credits</h2> <p> </p> <table border="0" summary="Simple list" class="simplelist"> <tr> <td>Author: Robin Whittle</td> </tr> <tr> <td>Australia</td> </tr> <tr> <td>May 1997</td> </tr> </table> <p> </p> <p>New in version 3.47</p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="tablei.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="OpcodesTop.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="tableigpw.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">tablei </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> tableigpw</td> </tr> </table> </div> </body> </html>