| 1 |
|
| 2 |
<refentry id="ftslicei"> |
| 3 |
<indexterm id="IndexFtslicei"><primary>ftslicei</primary></indexterm> |
| 4 |
|
| 5 |
<refentryinfo><title>Table Control:Read/Write Operations</title></refentryinfo> |
| 6 |
<refmeta> |
| 7 |
<refentrytitle>ftslicei</refentrytitle> |
| 8 |
</refmeta> |
| 9 |
|
| 10 |
<refnamediv> |
| 11 |
<refname>ftslicei</refname> |
| 12 |
<refpurpose> |
| 13 |
Copy a slice from an f-table to another f-table at init |
| 14 |
</refpurpose> |
| 15 |
</refnamediv> |
| 16 |
|
| 17 |
<refsect1> |
| 18 |
<title>Description</title> |
| 19 |
<para>Plugin opcode in emugens.</para> |
| 20 |
<para> |
| 21 |
The <emphasis>ftslicei</emphasis> opcode takes an f-table and copies a slice to a second |
| 22 |
f-table (similar to tab2array, but between tables). This action is done at init time. |
| 23 |
For a performance-time version, see <link linkend="ftslice"><citetitle>ftslice</citetitle></link> |
| 24 |
</para> |
| 25 |
</refsect1> |
| 26 |
|
| 27 |
<refsect1> |
| 28 |
<title>Syntax</title> |
| 29 |
|
| 30 |
<synopsis><command>ftslicei</command> ifnsource, ifndest [, istart, iend, istep ]</synopsis> |
| 31 |
</refsect1> |
| 32 |
|
| 33 |
<refsect1> |
| 34 |
<title>Initialization</title> |
| 35 |
<para> |
| 36 |
<emphasis>ifnsource</emphasis> -- The table number to copy data from |
| 37 |
</para> |
| 38 |
<para> |
| 39 |
<emphasis>ifndest</emphasis> -- The table number to copy data to |
| 40 |
</para> |
| 41 |
<para> |
| 42 |
<emphasis>istart</emphasis> -- The index to start copying from. <emphasis>Defaults to 0</emphasis> |
| 43 |
</para> |
| 44 |
|
| 45 |
<para> |
| 46 |
<emphasis>iend</emphasis> -- The end index to stop copying. |
| 47 |
This is NOT inclusive. 0 means copy to the end of the table. <emphasis>Defaults to end of table</emphasis> |
| 48 |
</para> |
| 49 |
|
| 50 |
<para> |
| 51 |
<emphasis>istep</emphasis> -- How many elements to skip. <emphasis>Defaults to 1</emphasis> |
| 52 |
</para> |
| 53 |
</refsect1> |
| 54 |
|
| 55 |
<refsect1> |
| 56 |
<title>Performance</title> |
| 57 |
|
| 58 |
|
| 59 |
</refsect1> |
| 60 |
<refsect1> |
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
<title>Examples</title> |
| 65 |
<para> |
| 66 |
For an example, refer to the ftslice opcode: <ulink url="examples/ftslice.csd"><citetitle>ftslice.csd</citetitle></ulink>. |
| 67 |
<example> |
| 68 |
<title>Example of the ftslice opcode.</title> |
| 69 |
<xi:include href="examples-xml/ftslice.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 70 |
</example> |
| 71 |
</para> |
| 72 |
</refsect1> |
| 73 |
|
| 74 |
<refsect1> |
| 75 |
<title>See also</title> |
| 76 |
<para><link linkend="TableReadwrit"><citetitle>Read/Write Operations</citetitle></link></para> |
| 77 |
</refsect1> |
| 78 |
|
| 79 |
<refsect1> |
| 80 |
|
| 81 |
<title>Credits</title> |
| 82 |
<para>By: &nameeduardo; 2018</para> |
| 83 |
<para>New plugin in version 6.12</para> |
| 84 |
</refsect1> |
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
</refentry> |