MathGroup Archive 2011

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

Search the Archive

Improt vs Get


Hi,
I have a file tst:

{{X [m], -0.5066E+01, -0.4039E+01, -0.3012E+01},{Y [m], -0.5066E+01, 
-0.4039E+01, -0.3012E+01}}

which I Get:
fn = FileNameJoin[{myDir, "tst"}]

In[]= Get[fn]
Out[]= 
{{X[m],-0.377082,-0.097914,0.181254},{Y[m],-0.377082,-0.097914,0.181254}}

which is not what I expect.

Import, however, returns the content of tst:

In[] =Import[fn,"List"]
Out[]= {{{X [m], -0.5066E+01, -0.4039E+01, -0.3012E+01},{Y [m], 
-0.5066E+01, -0.4039E+01, -0.3012E+01}}}

What do I miss here?
Thanks in advance,
--Ted




  • Prev by Date: Re: C code generation
  • Next by Date: Re: Problem with Compile
  • Previous by thread: how to visualize unstructured data
  • Next by thread: Re: how to visualize unstructured data