MathGroup Archive 2005

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

Search the Archive

Zero argument functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61686] Zero argument functions
  • From: kalymereau at yahoo.fr
  • Date: Wed, 26 Oct 2005 01:01:40 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi

For a "function" with no argument, what is the difference between:

myFunc:=(whatever)

and

myFunc[]:=(whatever)

I find the first syntax simpler, but there are many built-in
Mathematica functions that use the second one.

Thanks


  • Prev by Date: multidimensional interpolation
  • Next by Date: Re: Use of CAS in introductory science&engineering courses
  • Previous by thread: Re: multidimensional interpolation
  • Next by thread: Re: Zero argument functions