<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="cggoto">
  <refmeta>
    <refentrytitle>cggoto</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>cggoto</refname>

    <refpurpose>
      Conditionally transfer control on every pass.
      <indexterm id="IndexCggoto"><primary>cggoto</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Transfer control to <emphasis>label</emphasis> on every pass. (Combination of <link linkend="cigoto"><citetitle>cigoto</citetitle></link> and <link linkend="ckgoto"><citetitle>ckgoto</citetitle></link>) 
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis><command>cggoto</command> condition, label</synopsis>

    <para>
      where <emphasis>label</emphasis> is in the same instrument block and is not an expression, and where <emphasis>R</emphasis> is one of the Relational operators (<emphasis>&lt;</emphasis>,<emphasis> =</emphasis>, <emphasis>&lt;=</emphasis>, <emphasis>==</emphasis>, <emphasis>!=</emphasis>) (and <emphasis>=</emphasis> for convenience, see also under <link linkend="ControlConditional"><citetitle>Conditional Values</citetitle></link>).
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the cggoto opcode. It uses the files <ulink url="examples/cggoto.orc"><citetitle>cggoto.orc</citetitle></ulink> and <ulink url="examples/cggoto.sco"><citetitle>cggoto.sco</citetitle></ulink>.

      <example>
        <title>Example of the cggoto opcode.</title>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/cggoto.orc" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/cggoto.sco" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>
      </example>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="cigoto"><citetitle>cigoto</citetitle></link>, 
      <link linkend="ckgoto"><citetitle>ckgoto</citetitle></link>, 
      <link linkend="cngoto"><citetitle>cngoto</citetitle></link>, 
      <link linkend="if"><citetitle>if</citetitle></link>, 
      <link linkend="igoto"><citetitle>igoto</citetitle></link>, 
      <link linkend="kgoto"><citetitle>kgoto</citetitle></link>, 
      <link linkend="tigoto"><citetitle>tigoto</citetitle></link>, 
      <link linkend="timout"><citetitle>timout</citetitle></link>
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>Added a note by Jim Aikin.</para>
    <para>Example written by &namekevin;.</para>
  </refsect1>
</refentry>
