...go ahead and read the manual, we won't tell anyone.

Help Topics > All Functions > ParamCount
Not Tagged

The paramCount functionn returns the number of parameters passed to the handler.

Usage:

the paramCount
paramCount()

Example:

if paramCount() is 2 then put param(2) into var2