NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



ParameterCount

Counts the number of Parameters of a particular name

Counts the number of the parameters received by the SIML script with the name specified in the first parameter. Use the keyword NumberOfParameters to find out the total number of parameters passed to the script of any name. ParameterCount reads parameters globally.

ParameterCount is not case sensitive.

Sample Source

iCount := Parametercount "ABC"
Say "There were " + iCount + " parameters recieved with the name 'ABC'"

Related Function(s):
   NumberOfParameters; Parameter; ParameterName;

Minimum version: 2.0