Re: Mathematica: Assistance requested.
- To: mathgroup at smc.vnet.net
- Subject: [mg59217] Re: Mathematica: Assistance requested.
- From: Peter Pein <petsie at dordos.net>
- Date: Tue, 2 Aug 2005 00:42:37 -0400 (EDT)
- References: <dcho8t$81t$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
C. Frangos wrote: > Hi, > > I am trying to learn Mathematica running under suse linux version 7.2. Any > assistance with the following would be much appreciated: > > (1) How do I start Mathematica from the linux command line so as to get only > the plain text command line interface ? > > (2) I have a function defined in a file ftest.m. I am reading this in with > the command: <<ftest.m However, this function prints locally defined > variables with dollar signs followed by a number. It's not clear how to get > rid of this ? > > (3) How can one use contexts/packages/etc to get rid of the problem in (2) > above ? How is the package read in ? Are there some advantages in using > packages (even for one function) compared to simply defining a function in a > ..m file ? > > Thanks very much. > > Constantine Frangos. > > 1.) math <enter> 2.) this is the way Mathematica handles local variables. I'm afraid you'll have to accept this or use global variables, when possible.