Package problem
- To: mathgroup at smc.vnet.net
- Subject: [mg34711] Package problem
- From: lamontgra at yahoo.com (Graham)
- Date: Sun, 2 Jun 2002 01:14:47 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I am trying to create a package and read it in.
The package starts :
BeginPackage["Roulette`BallSim1`"]
BallFall::usage = "Performs simulation of ball motion through fluid"
(* BallFall
a:: drag coefficient (a*v^2)
But I get this:
Get["ballsim1`"]
Notebook[{Cell[
BoxData[{RowBox[{RowBox[{"BeginPackage", "[", "\"Roulette`BallSim1`\"",
"]"}], "\n"}], "\[IndentingNewLine]",
RowBox[{RowBox[{"BallFall", "::", "usage"}], "=", " ",
RowBox[{"\"Performs simulation of ball motion through fluid\"",
"\[IndentingNewLine]", " "}],
RowBox[{"(*", " ",
RowBox[{"BallFall", "\n",
RowBox[{RowBox[{"a", "::", " ", "drag"}], " ",
"coefficient",
Whtas happening ?
Is the file corrupt perhaps ?
Can you edit .m files in the notebook interface ?
Thanks
Graham