🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #148

writeln without CR+LF

#148
From: jasper.friese
Date: Mon, 05 Apr 2004 06:12
16 lines
1465 bytes
Hallo Developer,

I have a problem with the function writeln() in my Delphi7-Projects.
Under Delphi5 the function writeln(TextFile,'Text') made 'Text'+CR+LF,
under Delphi7 only 'Text' + LF.
How can I get the expected CR + LF on the end of my textline in the
textfile?

I tried it with DefaultLineBreakStyle but nothing happend.

Is anybody here who can tell me the way to get my missing CR?


Kind regard

Jasper Friese
Technical Details
Message-ID: <c4qtae$bug$03$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,68c327f54b9c0356,start
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2004-04-04 23:13:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
From: "jasper.friese" <jasper.friese@durag.de>
Newsgroups: borland.public.delphi.language.objectpascal
Subject: writeln without CR+LF
Date: Mon, 5 Apr 2004 08:12:33 +0200
Organization: T-Online
Lines: 18
Message-ID: <c4qtae$bug$03$1@news.t-online.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1081145487 03 12240 +0MRGDs6txwxR9M 040405 06:11:27
X-Complaints-To: usenet-abuse@t-online.de
X-ID: Vf7f46ZHoeH9MvHK-G1u8zMYGU+YqcTbgPrqvICrB0UKS2BZ6ANbUU
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200