MathGroup Archive 2006

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

Search the Archive

<> doesn't work in filename in a batch mode ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66980] <> doesn't work in filename in a batch mode ?
  • From: bar at ANTYSPAM.ap.krakow.pl
  • Date: Tue, 6 Jun 2006 06:27:11 -0400 (EDT)
  • Organization: Akademia Pedagogiczna w Krakowie
  • Sender: owner-wri-mathgroup at wolfram.com

When i used :

dir = "/home/bar/TMP/";
lists >> dir <> "filename.lst";

it works correctly in graphical mode (notebook)
When i try use it in batch mode ( math < file.m)
i obtained:

Syntax::sntxf: "lists>>dir" cannot be followed by "<>"filename.lst";".


Why ?



  • Prev by Date: Caret
  • Next by Date: How can I use multiple filename ?
  • Previous by thread: Caret
  • Next by thread: How can I use multiple filename ?