[D4]Text files and mac-osx+Virtual PC
From: Patrice Rabiller (patrice.rabiller_at_wanadoo.fr)
Date: 01/22/04
- Next message: tibo: "SSH with delphi"
- Previous message: Kent Briggs: "Re: IOResult returns 2 ?"
- Next in thread: Dodgy: "Re: [D4]Text files and mac-osx+Virtual PC"
- Reply: Dodgy: "Re: [D4]Text files and mac-osx+Virtual PC"
- Reply: Bruce Roberts: "Re: [D4]Text files and mac-osx+Virtual PC"
- Reply: Nicholas Sherlock: "Re: [D4]Text files and mac-osx+Virtual PC"
- Reply: René Larsen: "Re: [D4]Text files and mac-osx+Virtual PC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Jan 2004 17:12:59 +0100
Hello,
I've made an application with Delphi 4 for PC+windows. This application
draws mathematics graphics. It saves the graphics as text files, using
writeln(FileName,strings). When I open the file, I use Readln for each line
and the graphic is rebuilt.
A user sent me such a text file, but created under Virtual PC with a
mac-os.x.
The text file is not exactly the same as the text files made under windows :
each end of line is CR LF on a PC, but CR CR LF on the mac. This
particularity causes a trouble when you want to read the file. Each line of
the text file is interpreted as two lines : the normal line, then an empty
line so that my application cannot read correctly the file.
Is there anybody knowing this problem ? How can I do to solve this ? My
application is destined to french speaking teachers and is free. You can
find it below.
Thanks in advance.
-- Un logiciel gratuit pour tracer vos courbes : http://perso.wanadoo.fr/patrice.rabiller/SineQuaNon/menusqn.htm
- Next message: tibo: "SSH with delphi"
- Previous message: Kent Briggs: "Re: IOResult returns 2 ?"
- Next in thread: Dodgy: "Re: [D4]Text files and mac-osx+Virtual PC"
- Reply: Dodgy: "Re: [D4]Text files and mac-osx+Virtual PC"
- Reply: Bruce Roberts: "Re: [D4]Text files and mac-osx+Virtual PC"
- Reply: Nicholas Sherlock: "Re: [D4]Text files and mac-osx+Virtual PC"
- Reply: René Larsen: "Re: [D4]Text files and mac-osx+Virtual PC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|