NAME

oadl::nargs - returns the number of arguments passed to the currently executing procedure

SYNOPSIS

oadl::nargs()

RETURN VALUE

Returns the number of arguments passed to the currently executing procedure

ERRORS

None

EXAMPLE

    proc foo()
    {
        "nargs() = ", oadl::nargs(), '\n';
    }

    foo("one")
nargs() = 1

    foo("one","two","three")
nargs() = 3

SEE ALSO

arg
argvec