<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="zacl">
  <refmeta>
    <refentrytitle>zacl</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>zacl</refname>
    <refpurpose>
      Clears one or more variables in the za space.
      <indexterm id="IndexZacl"><primary>zacl</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Clears one or more variables in the za space.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>zacl</command> kfirst, klast</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kfirst</emphasis> -- first zk or za location in the range to clear.
    </para>

    <para>
      <emphasis>klast</emphasis> -- last zk or za location in the range to clear.
    </para>

    <para>
      <emphasis>zacl</emphasis> clears one or more variables in the za space. This is useful for those variables which are used as accumulators for mixing a-rate signals at each cycle, but which must be cleared before the next set of calculations.
    </para>
  </refsect1>

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

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

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

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/zacl.sco" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>
      </example>
    </para>
  </refsect1>
 
  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="zamod"><citetitle>zamod</citetitle></link>,
      <link linkend="zar"><citetitle>zar</citetitle></link>,
      <link linkend="zaw"><citetitle>zaw</citetitle></link>,
      <link linkend="zawm"><citetitle>zawm</citetitle></link>,
      <link linkend="zkcl"><citetitle>ziw</citetitle></link>,
      <link linkend="zkmod"><citetitle>ziwm</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: Robin Whittle</member>
        <member>Australia</member>
        <member>May 1997</member>
      </simplelist>
    </para>
    <para>Example written by &namekevin;.</para>
  </refsect1>
</refentry>
