| 1 | |
| 2 | <refentry id="tableicopy"> |
| 3 | <indexterm id="IndexTableicopy"><primary>tableicopy</primary></indexterm> |
| 4 | <refentryinfo><title>Table Control:Read/Write Operations</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>tableicopy</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>tableicopy</refname> |
| 13 | <refpurpose> |
| 14 | Simple, fast table copy opcode. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Simple, fast table copy opcode. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis><command>tableicopy</command> idft, isft</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>idft</emphasis> -- Destination function table. |
| 34 | </para> |
| 35 | |
| 36 | <para> |
| 37 | <emphasis>isft</emphasis> -- Number of source function table. |
| 38 | </para> |
| 39 | </refsect1> |
| 40 | |
| 41 | <refsect1> |
| 42 | <title>Performance</title> |
| 43 | <para> |
| 44 | <emphasis>tableicopy</emphasis> -- 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. |
| 45 | </para> |
| 46 | |
| 47 | <para> |
| 48 | <emphasis>tableicopy</emphasis> cannot read or write the guardpoint. To read it use <link linkend="table"><citetitle>table</citetitle></link>, with <emphasis>ndx</emphasis> = the table length. Likewise use table write to write it. |
| 49 | </para> |
| 50 | |
| 51 | <para> |
| 52 | To write the guardpoint to the value in location 0, use <link linkend="tablegpw"><citetitle>tablegpw</citetitle></link>. |
| 53 | </para> |
| 54 | |
| 55 | <para> |
| 56 | This is primarily to change function tables quickly in a real-time situation. |
| 57 | </para> |
| 58 | </refsect1> |
| 59 | |
| 60 | <refsect1> |
| 61 | <title>See also</title> |
| 62 | <para><link linkend="TableReadwrit"><citetitle>Read/Write Operations</citetitle></link></para> |
| 63 | </refsect1> |
| 64 | |
| 65 | <refsect1> |
| 66 | <title>Credits</title> |
| 67 | <para> |
| 68 | <simplelist> |
| 69 | <member>Author: Robin Whittle</member> |
| 70 | <member>Australia</member> |
| 71 | <member>May 1997</member> |
| 72 | </simplelist> |
| 73 | </para> |
| 74 | <para>New in version 3.47</para> |
| 75 | </refsect1> |
| 76 | </refentry> |