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

Shared variables between notebooks?

  • To: mathgroup at
  • Subject: [mg46780] Shared variables between notebooks?
  • From: richter at (Neal Richter)
  • Date: Sun, 7 Mar 2004 01:34:10 -0500 (EST)
  • Sender: owner-wri-mathgroup at

    I'm using Mathematica 4.1 for Linux and am noticing some odd

1) It appears that when I have multiple notebooks open, the variables
and functions are 'shared'..  ie they have global scope.  Can I change

2) Is there a "#include" type command in mathematica?   I'd like to be
able to have a notebook with common functions I use, and include it in
other notebooks where use the functions.

As you can tell I'm a C/C++ programmer.  Has anyone on the list used
the Mathematica->C++ code generator?  Opinions?


Neal Richter

  • Prev by Date: Keeping Examples Open in Help Browser
  • Next by Date: Playing multiple sounds in sequence
  • Previous by thread: Keeping Examples Open in Help Browser
  • Next by thread: Playing multiple sounds in sequence