number of arguments, etc?

Dar Scott dsc at swcp.com
Tue Feb 17 00:32:01 EST 2004


On Monday, February 16, 2004, at 10:15 PM, Doug Lerner wrote:

> Is there something in Transcript like the JavaScript arguments array, 
> where
> you can check the number of arguments received by a function, and what 
> those
> arguments are?

Look at paramCount() and param().

With limited data, params() might be OK.  I don't use it.

If a value parameter is not in the call, it is empty in parameter 
variable for the function or handler.

Dar Scott





More information about the use-livecode mailing list