paramCount

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the paramCount
paramCount()
Summary

Returns the number of parameters passed to the current handler.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the paramCount
repeat with thisParam = 1 to the paramCount
Values
NameTypeDescription
return

The paramCount function returns a non-negative integer.

RelatedKeyword: $, integer
Function: variableNames, param, params
Glossary: pass, handler, parameter, return, non-negative
Control Structure: on, setProp, getProp, function
Description

Use the paramCount function to find out how many parameters were passed to the current handler.

The paramCount function returns the number of parameters passed to the current handler. If no parameters were passed, the paramCount function returns zero.

Tagsproperties