Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

FW: Re: Length of actual parameters in a function call. (Plus how to organize mathematica stuff)

  • To: mathgroup at
  • Subject: [mg47582] FW: [mg47498] Re: Length of actual parameters in a function call. (Plus how to organize mathematica stuff)
  • From: "E. Martin-Serrano" <eMartinSerrano at>
  • Date: Fri, 16 Apr 2004 05:21:38 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Yes Torben!

You are right; it is exactly what I was looking for. Besides,
to all those who responded to my posted, many thanks; in fact, I had begun to
use the proposed solutions.

By the way, I have plenty of badly-organized Mathematica stuff from different
sources, and I am struggling to put some order on it. I would like to use some
arrangement of (Windows) folders accessible through shortcuts which content
could be illustrated by icons.

Does anyone know about a collection of Mathematica-shaped icons that
could be used to help in this purpose?


-----Original Message-----
From: Torben Winther Graversen [mailto:immtwg at]
To: mathgroup at
Subject: [mg47582] [mg47498] Re: Length of actual parameters in a function call.

E. Martin-Serrano <eMartinSerrano at> wrote:
: Hi,

: A few weeks ago, reviewing some tutorials on pattern matching and error
: handling, I came across an undocumented function to monitor the number of
: parameters submitted to a function in a call; but somehow I lost its track
: later. I guess that it must be something well-known by our specialists.
: help about where to locate it?

: The undocumented feature helps in tracking situations as when we define
: "MyFunction[a_,b_,c_]:= something" and then it is called as
: leaving the function unevaluated.


Perhaps the one you are looking for is ArgumentCountQ ?

I stumbled on it a few days ago on Ted Ersek's Tricks page:

The documentation on Wolfram's site is at:

ArgumentCountQ[head,len,min,max] tests whether the number len of
arguments of a function head is between min and max.



  • Prev by Date: RE: Re: DirectMath experience
  • Next by Date: Re: DisplayForm changes precission
  • Previous by thread: Re: Saving as HTML -- Page width problems
  • Next by thread: Programming style