Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3392
| From | Ted Sariyski <tsariysk@craft-tech.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Improt vs Get |
| Date | 2011-06-29 21:49 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <iug6kh$9lc$1@smc.vnet.net> (permalink) |
| References | <201106250929.FAA20235@smc.vnet.net> <201106271131.HAA07842@smc.vnet.net> <201106281155.HAA21486@smc.vnet.net> <002f01cc35a6$3dd69ca0$b983d5e0$@dahl@telia.com> |
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
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Improt vs Get Ted Sariyski <tsariysk@craft-tech.com> - 2011-06-29 21:49 +0000
csiph-web