Go to: Synopsis. Return value. MEL examples.

Synopsis

getProcArguments

getProcArguments is undoable, NOT queryable, and NOT editable.

This command returns a string array describing the input arguments to the named MEL procedure.

Note that this command makes no attempt to source the script defining the procedure; nor will it work on built-in commands.

Return value

string[]The types of the procedure's arguments.

MEL examples

proc foo( int $i, string $s[] )
{
}
getProcArguments "foo";
// Result: int string[] //