Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*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 2002

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

Search the Archive

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


  • Prev by Date: Re: Efficiency question
  • Next by Date: Re: Is it possible to access internal variables?
  • Previous by thread: Re: repeated entries in File>Palettes menu (again)
  • Next by thread: RE: Package problem