importing nb files
- To: mathgroup at smc.vnet.net
- Subject: [mg86688] importing nb files
- From: "alexxx.magni at gmail.com" <alexxx.magni at gmail.com>
- Date: Tue, 18 Mar 2008 04:51:13 -0500 (EST)
a very basic question - sorry for that...
probably it's me, almost never having programmed large projects that
needed breaking up in different notebooks, so I seldom used the Get
(<<) function, but I seemed to remember this function would allow me
to Import&evaluate a notebook in another.
So, defining simply a=2 in a notebook test.nb, when I executed:
<<"test.nb"
I obtained:
Notebook[{Cell[
CellGroupData[{Cell[BoxData[RowBox[{"a", "=", "2"}]], "Input",
CellChangeTimes -> {{3.41474*10^9, 3.41474*10^9}}],
Cell[BoxData["2"], "Output", CellChangeTimes -> {3.41474*10^9}]},
Open]]}, WindowSize -> {640, 750},
WindowMargins -> {{150, Automatic}, {Automatic, 52}},
FrontEndVersion -> "6.0 for Linux x86 (32-bit) (February 7, 2008)",
StyleDefinitions -> "Default.nb"]
(a verbose output which I didnt remember) and, moreover, my "a"
variable still remains undefined!
What I'm missing (or forgetting)?
thanks!
Alessandro