Contents Previous Next Subchapters

Number of Arguments in a Function Call
Syntax nargin
See Also nargout , arg(0)

Description
Returns the number of arguments in a function call. If you enter
     clear
     function f(a, b, c, d, e) begin
          print nargin
     end
     f(2, 4, 6)
O-Matrix will respond
     3