| 1 | |
| 2 | <refentry id="strcpyk"> |
| 3 | <indexterm id="Indexstrcpyk"><primary>strcpyk</primary></indexterm> |
| 4 | <refentryinfo><title>Strings:Manipulation</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>strcpyk</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>strcpyk</refname> |
| 13 | <refpurpose> |
| 14 | Assign value to a string variable (k-rate) |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Assign to a string variable by copying the source which may be a constant or another string variable. <emphasis>strcpyk</emphasis> does the assignment both at initialization and performance time. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>Sdst <command>strcpyk</command> Ssrc</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Examples</title> |
| 32 | <para> |
| 33 | Here is an example of the strcpyk opcode. It uses the file <ulink url="examples/strcpyk.csd"><citetitle>strcpyk.csd</citetitle></ulink>. |
| 34 | <example> |
| 35 | <title>Example of the strcpyk opcode.</title> |
| 36 | <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> |
| 37 | <xi:include href="examples-xml/strcpyk.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 38 | </example> |
| 39 | </para> |
| 40 | </refsect1> |
| 41 | |
| 42 | <refsect1> |
| 43 | <title>See Also</title> |
| 44 | <para><link linkend="stringmanipulate"><citetitle></citetitle>String Manipulation Opcodes</link></para> |
| 45 | </refsect1> |
| 46 | |
| 47 | <refsect1> |
| 48 | <title>Credits</title> |
| 49 | <para> |
| 50 | <simplelist> |
| 51 | <member>Author: Istvan Varga</member> |
| 52 | <member>2005</member> |
| 53 | </simplelist> |
| 54 | </para> |
| 55 | </refsect1> |
| 56 | </refentry> |