Debian Codegraph @

opcodes/strchar.xml

raw symbols SCIP
1
2 <refentry id="strchar">
3 <indexterm id="Indexstrchar"><primary>strchar</primary></indexterm>
4 <refentryinfo><title>Strings:Conversion</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>strchar</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>strchar</refname>
11 <refpurpose>
12 Return the ASCII code of a character in a string
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Return the ASCII code of the character in Sstr at ipos (defaults to zero
20 which means the first character), or zero if ipos is out of range.
21 strchar runs at init time only.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ichr <command>strchar</command> Sstr[, ipos]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Examples</title>
32 <para>
33 Here is an example of the strchar opcode. It uses the file <ulink url="examples/strchar.csd"><citetitle>strchar.csd</citetitle></ulink>.
34 <example>
35 <title>Example of the strchar 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/strchar.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="stringconvert"><citetitle></citetitle>String Conversion Opcodes</link></para>
45 </refsect1>
46
47 <refsect1>
48 <title>Credits</title>
49 <para>
50 <simplelist>
51 <member>Author: Istvan Varga</member>
52 <member>2006</member>
53 </simplelist>
54 </para>
55 </refsect1>
56 </refentry>