Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!SIAC From: SIAC@applelink.apple.com (Eric Ulevik) Newsgroups: comp.sys.mac.programmer Subject: Re: IBM (Intel) Real Numbers Message-ID: <655@internal.Apple.COM> Date: 13 Feb 89 17:52:59 GMT Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 18 References:<14486@cup.portal.com> <12194@dartvax.Dartmouth.EDU> In article <14486@cup.portal.com> Greg_Mark_Finnegan@cup.portal.com writes: >Has anyone ever tried to read a data file from an IBM PC >that consisted of REAL (in the Pascal sense) numbers.> > >Any help or code would be appreciated. The simplest method (_if_ you can afford the disk space and CPU time) is to re-read the pc data file into a pc program, and write it out as ascii-format numbers (eg. "0.123E4"). This makes it a lot easier to write a Mac program to read the data. This is what I used to do in a multi-machine environment (not at Apple, BTW). Of course, we had an Elxsi 6400, so disk and cpu wasn't really a problem :-) Eric Ulevik email: SIAC@applelink.apple.com -- These writings are mine, not Apple's. That's the way I like it.--