Debian Codegraph @

opcodes/strget.xml

raw symbols SCIP
1
2 <refentry id="strget">
3 <indexterm id="Indexstrget"><primary>strget</primary></indexterm>
4 <refentryinfo><title>Strings:Definition</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>strget</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>strget</refname>
11 <refpurpose>
12 Set string variable to value from strset table or string p-field
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 <emphasis>strget</emphasis> sets a string variable at initialization time to the value stored in <link linkend="strset"><citetitle>strset</citetitle></link> table at the specified index, or a string p-field from the score. If there is no string defined for the index, the variable is set to an empty string.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>Sdst <command>strget</command> indx</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>indx</emphasis> -- strset index, or score p-field
32 </para>
33
34 <para>
35 <emphasis>Sdst</emphasis> -- destination string variable
36 </para>
37 </refsect1>
38
39 <refsect1>
40 <title>Examples</title>
41 <para>
42 Here is an example of the strget opcode. It uses the file <ulink url="examples/strget.csd"><citetitle>strget.csd</citetitle></ulink>.
43 <example>
44 <title>Example of the strget opcode.</title>
45 <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>
46 <xi:include href="examples-xml/strget.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
47 </example>
48 </para>
49 </refsect1>
50
51 <refsect1>
52 <title>See Also</title>
53 <para><link linkend="stringmanipulate"><citetitle></citetitle>String Manipulation Opcodes</link></para>
54 </refsect1>
55
56 <refsect1>
57 <title>Credits</title>
58 <para>Author: Istvan Varga</para>
59 <para>2005</para>
60 </refsect1>
61 </refentry>