MathGroup Archive 1996

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

Search the Archive

Re: The << command on a Mac???

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5569] Re: The << command on a Mac???
  • From: dsmith at psy.ucsd.edu (David Smith)
  • Date: Thu, 19 Dec 1996 01:02:55 -0500
  • Organization: Univ. of California, San Diego
  • Sender: owner-wri-mathgroup at wolfram.com

In article <58vf32$prv at dragonfly.wolfram.com>, Martin Gagne
<mgagne at gmc.ulaval.ca> wrote:

> I want to use the Get (<<) command on a Mac with Mathematica 2.2.2.
> It works if my files are in the Mathematica's directory. But if
> they aren't, I don't know how to get them.
>
> On Unix I use this command:
>   <<../directory/file.ma
>
> How can I do that on a Mac??
>

Hi Martin,

It works in the same fashion for Macs as for Unix except the
directory symbol is a : rather than /. So assuming your Mac
hard disk is called MAC and the files are in the directory
home/maths just do

<<MAC:home:maths:filename

Incidentally if you want to make frequenct use of files in a
particular directory then add it to your known search path. Typing

$Path

displays the systems default search path. To add your directory
do

$Path = Append[$Path,"MAC:home:maths:"]

Best wishes - David.

~


  • Prev by Date: Re: Reading tables with labels
  • Next by Date: Re: How to get rid of the outer {}?
  • Previous by thread: Re: The << command on a Mac???
  • Next by thread: Re: The << command on a Mac???