Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*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 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 ?