Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

Re: operator <> on file name

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53109] Re: operator <> on file name
  • From: bar at ANTYSPAM.ap.krakow.pl
  • Date: Thu, 23 Dec 2004 07:59:54 -0500 (EST)
  • Organization: Akademia Pedagogiczna w Krakowie
  • References: <cq6e4r$2q4$1@smc.vnet.net> <cqbhmk$4mf$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Marcus Stollsteimer <marcus314 at yahoo.com> wrote:
> > -------
> > name="x2";
> > dir="/home/bar/";
> > x=N[1/3];
> > x >> "/home/bar/x1.dat";
> > x >> dir<>name<>".dat";
> > ----------

> Hi Olaf,
> works perfectly for me,

-----------------
In[1]:= 4.2 for Linux (August 23, 2002)

In[2]:=
In[3]:= name="x2";

In[4]:= dir="/home/bar/";

In[5]:= x=N[1/3];

In[6]:= x >> "/home/bar/x1.dat"

In[7]:=
Syntax::sntxf: "x >> dir" cannot be followed by "<>name<>".dat"".
------------------

whilst the same version under Win works correctly :-(

Olaf




  • Prev by Date: Coefficients of previous result
  • Next by Date: Re: GUIKit - ScrollPane Tables within Wizard
  • Previous by thread: Re: operator <> on file name
  • Next by thread: Primes (again)