Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Using user-defined functions (newbie question)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22358] Using user-defined functions (newbie question)
  • From: cdeacon at .physics.mun.ca (Chris Deacon)
  • Date: Fri, 25 Feb 2000 21:14:07 -0500 (EST)
  • Organization: Memorial University
  • Sender: owner-wri-mathgroup at wolfram.com

Suppose I define a function, called myfunc[a_,b_,c_]:=
several_lines_of_code

How can I call this function in another notebook without retyping
entire function, so that the command

value=myfunc[x,y,z] will give me the desired result?

Do I simply include a Needs command at the top of the worksheet, or
what?

Chris Deacon


  • Prev by Date: Lost myHead, please help !!!
  • Next by Date: Mathmatica Art
  • Previous by thread: Re: Lost myHead, please help !!!
  • Next by thread: Re: Using user-defined functions (newbie question)