| 1 |
|
| 2 |
<refentry id="ftprint"> |
| 3 |
<indexterm id="IndexFtprint"><primary>ftprint</primary></indexterm> |
| 4 |
|
| 5 |
<refentryinfo><title>Table Control:Read/Write Operations</title></refentryinfo> |
| 6 |
<refmeta> |
| 7 |
<refentrytitle>ftprint</refentrytitle> |
| 8 |
</refmeta> |
| 9 |
|
| 10 |
<refnamediv> |
| 11 |
<refname>ftprint</refname> |
| 12 |
<refpurpose> |
| 13 |
Print the contents of a table (for debugging) |
| 14 |
</refpurpose> |
| 15 |
</refnamediv> |
| 16 |
|
| 17 |
<refsect1> |
| 18 |
<title>Description</title> |
| 19 |
<para>Plugin opcode in emugens.</para> |
| 20 |
<para> |
| 21 |
Prints the contents of a table (for debugging). |
| 22 |
It works at k-time, a trigger controls when to print |
| 23 |
(use ktrig=1, which is the default, to print only at i-time) |
| 24 |
</para> |
| 25 |
</refsect1> |
| 26 |
|
| 27 |
<refsect1> |
| 28 |
<title>Syntax</title> |
| 29 |
|
| 30 |
<synopsis><command>ftprint</command> ifn [, ktrig, kstart, kend, kstep, inumcols ]</synopsis> |
| 31 |
</refsect1> |
| 32 |
|
| 33 |
<refsect1> |
| 34 |
<title>Initialization</title> |
| 35 |
<para> |
| 36 |
<emphasis>ifn</emphasis> - The table to print |
| 37 |
</para> |
| 38 |
<para> |
| 39 |
<emphasis>inumcols</emphasis> - The number of elements to print in one column (default = 10) |
| 40 |
</para> |
| 41 |
</refsect1> |
| 42 |
|
| 43 |
<refsect1> |
| 44 |
<title>Performance</title> |
| 45 |
|
| 46 |
<para> |
| 47 |
<emphasis>ktrig</emphasis> - The table will be printed whenever |
| 48 |
this value changes from 0 to possitive. Can be used together |
| 49 |
with metro to print at a given time interval. A value of -1 |
| 50 |
indicates to print at each k-cycle (default = 1) |
| 51 |
</para> |
| 52 |
<para> |
| 53 |
<emphasis>kstart</emphasis> - The first index to print. (default = 0) |
| 54 |
</para> |
| 55 |
<para> |
| 56 |
<emphasis>kend</emphasis> - The end index to print (non inclusive). (default = length of table) |
| 57 |
</para> |
| 58 |
<para> |
| 59 |
<emphasis>kstep</emphasis> - How many elements to skip (default = 1) |
| 60 |
</para> |
| 61 |
|
| 62 |
|
| 63 |
</refsect1> |
| 64 |
<refsect1> |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
<title>Examples</title> |
| 69 |
<para> |
| 70 |
Here is an example of the ftprint opcode. It uses the file <ulink url="examples/ftprint.csd"><citetitle>ftprint.csd</citetitle></ulink>. |
| 71 |
<example> |
| 72 |
<title>Example of the ftprint opcode.</title> |
| 73 |
<xi:include href="examples-xml/ftprint.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 74 |
</example> |
| 75 |
</para> |
| 76 |
</refsect1> |
| 77 |
|
| 78 |
<refsect1> |
| 79 |
<title>See also</title> |
| 80 |
<para><link linkend="SigioPdisplay"><citetitle>Printing and Display</citetitle></link></para> |
| 81 |
<para><link linkend="TableReadwrit"><citetitle>Read/Write Operations</citetitle></link></para> |
| 82 |
</refsect1> |
| 83 |
|
| 84 |
<refsect1> |
| 85 |
|
| 86 |
<title>Credits</title> |
| 87 |
<para>By: &nameeduardo; 2018</para> |
| 88 |
<para>New plugin in version 6.12</para> |
| 89 |
</refsect1> |
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
</refentry> |