<doc>
  <legacy_id>2400</legacy_id>
  <name>paramCount</name>
  <type>function</type>
  <syntax>
    <example>the paramCount</example>
    <example>paramCount()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Writing LiveCode</category>
    <category>Values &amp; Properties</category>
  </classification>
  <references>
    <control_st tag="getProp">getProp Control Structure</control_st>
    <control_st tag="on">on Control Structure</control_st>
    <function tag="param">param Function</function>
    <function tag="params">params Function</function>
    <control_st tag="setProp">setProp Control Structure</control_st>
    <function tag="variableNames">variableNames Function</function>
    <keyword tag="$">$ Keyword</keyword>
    <control_st tag="function">function Control Structure</control_st>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> the number of <glossary tag="parameter">parameters</glossary> <glossary tag="pass">passed</glossary> to the current <glossary tag="handler">handler</glossary>.</summary>
  <examples>
    <example>the paramCount</example>
    <example>repeat with thisParam = 1 to the paramCount</example>
  </examples>
  <description>
    <p>Use the <b>paramCount</b> <control_st tag="function">function</control_st> to find out how many <glossary tag="parameter">parameters</glossary> were <glossary tag="pass">passed</glossary> to the current <glossary tag="handler">handler</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>paramCount</b> function <glossary tag="return">returns</glossary> a <href tag="../glossary/nondashnegative.xml">non-negative</href> <keyword tag="integer">integer</keyword>.</p><p/><p><b>Comments:</b></p><p>The <b>paramCount</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> the number of <glossary tag="parameter">parameters</glossary> <glossary tag="pass">passed</glossary> to the current <glossary tag="handler">handler</glossary>. If no <glossary tag="parameter">parameters</glossary> were <glossary tag="pass">passed</glossary>, the <b>paramCount</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> zero.</p>
  </description>
</doc>