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

MathGroup Archive 2007

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

Search the Archive

packages/notation/errors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74202] packages/notation/errors
  • From: Christopher Arthur <caa0012 at unt.edu>
  • Date: Wed, 14 Mar 2007 03:49:29 -0500 (EST)

Mathematica's Package/Context hierarchy implication is impressive in 
that it would seem to provide a way to stay organized with larger code 
projects.  Unfortunately, getting it to work as expected is confusing, 
especially when using the Utilities`Notation`.

Suppose that you have two packages, called Math`Notation and 
Math`Statements.  In the former you define your notation, and in the 
latter you put it into use.  Now according to the documentation, all 
you need to do to get this to work is put at statement like this at the 
start of Math`Statements`

BeginPackage["Math`Statements`",{"Math`Notation`"}]
...

But in fact this does not have the desireed effect.  Mathematica croaks 
on all the non-standard notation that you defined.  The only way to 
ensure that it won't croak is to load manually into the Kernel your 
notation package.  Can someone work this out?

Christopher Arthur
Student, Mathematics
University of North Texas


  • Prev by Date: Re: Animate command on ListPlot:
  • Next by Date: Re: Interpolating Function
  • Previous by thread: Real/Comlex function problem with D
  • Next by thread: Re: packages/notation/errors