MathGroup Archive 1996

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

Search the Archive

Re: [Q]: Reading Input

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3204] Re: [Q]: Reading Input
  • From: schmitz at ro.coma.sbg.ac.at (Peter Schmitzberger)
  • Date: Sat, 17 Feb 1996 14:15:51 -0500
  • Organization: Computing Services, University of Salzburg
  • Sender: owner-wri-mathgroup at wolfram.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 |

==== [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