MathGroup Archive 1996

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

Search the Archive

Re: [Q]: Reading Input


John Schneider (schneids+ at andrew.cmu.edu) wrote:

> I'm trying to read a file that contains expressions like
> 1.23456789E-2

> Is there an easy way to tell Mma what it's reading?

Yes, you can tell Mma the type of the objects you are reading within
the Read[] or ReadList[] statement.

e.g. ReadList["file", Number]

hope this helps
  Peter

--
| Peter Schmitzberger, Univ. of Salzburg, Austria |      R I S T + +       |
| http://www.coma.sbg.ac.at/~schmitz/             | schmitz at coma.sbg.ac.at |

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Subscripts in Text
  • Next by Date: Re: [Q]: Reading Input
  • Previous by thread: Re: [Q]: Reading Input
  • Next by thread: Re: [Q]: Reading Input