[Date Index] [Thread Index] [Author Index]
Re: The << command on a Mac???
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. ~