Re: How do I write printf("Content-type:%s\r\n\r\n",type) in Pascal ?
by Marco van de Voort <marcov@[EMAIL PROTECTED]
>
Sep 11, 2005 at 04:30 PM
On 2005-09-11, Lampa Dario <lamp@[EMAIL PROTECTED]
> wrote:
>>
>> How do you know for sure that Writeln will emit both a Carriage Return
_AND_
>> a linefeed?
>>
>> E.g. lots of pascals only emit a LF on Unix.
>
> Well, I have used Freepascal, and it works fine.
I'm pretty sure FPC prints only a #10 on *nix. If you use it for web
purposes, be sure to check this, since IIRC the standard requires #13#10.