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

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

Search the Archive

Re: OOP in Mathematica -- please help a newbie

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20369] Re: OOP in Mathematica -- please help a newbie
  • From: "Atul Sharma" <atulksharma at yahoo.com>
  • Date: Sun, 17 Oct 1999 02:45:42 -0400
  • References: <7u8vv4$qe8@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I think the Classes.m package works best with reference to the book it
accompanies (Roman Maeder's Programming in Mathematica). I haven't checked
recently, but I believe that Dr. Maeder's web site had an updated version of
the package for Mathematica 3.0 :
http://www.mathconsult.ch/showroom/pubs/MathProg/htmls/toc.htm

There are also two useful chapters in John Gray's Mastering Mathematica
(http://www.amazon.com/exec/obidos/ASIN/0122961056/ref=sim_books/002-2110689
-5309808), one on Maeder's package and OOP and a second on Object Oriented
Graph Theory, which essentially applies the Maeder package to a specific
case study.

A. Sharma MD


Joe Strout wrote in message <7u8vv4$qe8 at smc.vnet.net>...
>I'm trying to discover if and how Mathematica supports object-oriented
>programming.  I just got v4.0, and a search in the master index points
>me to the Mathematica Book, section 2.4.10.  But clicking the link
>jumps me to the bottom of that page, and scrolling up to that actual
>section, I find it's called "Associating Definitions with Different
>Symbols" and there is no mention of object-oriented programming.
>
>Is there a bug in the master index, or do I need to read between the
>lines, or what?
>
>I also downloaded "Classes.m" from MathSource, a package from 1993
>which claims to add OOP capability to Mathematica.  I opened this in
>Mathematica and did "Evaluate Notebook"; it generated a number of
>warnings (which now, for some reason, seem to be gone -- but they
>appeared to be mostly similar-name warningns).  Is this what I should
>be using, or is this now obsolete?  (The warnings, and the fact that
>it's from 1993, make me suspicious.)
>
>Thanks for any pointers!
>-- Joe
>
>--
>,------------------------------------------------------------------.
>|    Joseph J. Strout           Biocomputing -- The Salk Institute |
>|    joe at strout.net             http://www.strout.net              |
>`------------------------------------------------------------------'
>Check out the Mac Web Directory!    http://www.strout.net/macweb.cgi
>



  • Prev by Date: Re: plotting function w/ Im and Re vals
  • Next by Date: Re: adding comments to a file in a different color
  • Previous by thread: Re: OOP in Mathematica -- please help a newbie
  • Next by thread: Re: OOP in Mathematica -- please help a newbie