Re: [Q]: Reading Input
- Subject: [mg3204] Re: [Q]: Reading Input
- From: schmitz at ro.coma.sbg.ac.at (Peter Schmitzberger)
- Date: 18 Feb 1996 04:17:38 -0600
- Approved: usenet@wri.com
- Distribution: local
- Newsgroups: wri.mathgroup
- Organization: Computing Services, University of Salzburg
- Sender: daemon at wri.com
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 |