summaryrefslogtreecommitdiff
path: root/opcodes/nstrnum.xml
blob: 449a60068c1533affa4eb07f6ac9cc3794d322c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<refentry id="nstrnum">
<indexterm id="IndexNstrnum"><primary>nstrnum</primary></indexterm>
  <refentryinfo><title>Instrument Control:Initialization and Reinitialization</title></refentryinfo>
  <refmeta>
    <refentrytitle>nstrnum</refentrytitle>
  </refmeta>



  <refnamediv>
    <refname>nstrnum</refname>
    <refpurpose>
      Returns the number of a named instrument.
    </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      Returns the number of a named instrument.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis>insno <command>nstrnum</command> &quot;name&quot;</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>insno</emphasis> -- the instrument number of the named instrument.
    </para>
  </refsect1>

  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>&quot;name&quot;</emphasis> -- the named instrument's name.
    </para>

    <para>
      If an instrument with the specified name does not exist, an init error occurs, and -1 is returned.
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &nameistvan;</member>
        <member>New in version 4.23</member>
        <member>Written in the year 2002.</member>
      </simplelist>
    </para>
  </refsect1>
</refentry>