Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

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

Search the Archive

Re: import FortranForm back

  • To: mathgroup at
  • Subject: [mg90609] Re: import FortranForm back
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 16 Jul 2008 06:27:50 -0400 (EDT)
  • References: <g5hthn$jad$>


FortranForm[] can't handle List[] because FORTRAN *has no* Lists
so it is no wonder that the Import[] fail
you mean

Export["foo", FortranForm /@ foo, "List"]
Import["foo", "List"]


jyan.stat at wrote:
> I have a file saved in FortranForm from some previous work. Now I'd
> like to read it back in and continue working on it. For example,
> foo := Table[a i, {i, 1, 4}]
> Export["foo", FortranForm[foo], "Table"]
> Import["foo", "Table"]
> foo
> Note that the last two lines are not the same. How can I recover foo
> from Import? Thanks in advance.

  • Prev by Date: Re: Mathematica kernel color printing (Linux)
  • Next by Date: Re: Wacky Font Substitution in .eps Export
  • Previous by thread: import FortranForm back
  • Next by thread: Re: import FortranForm back