Hello,
I hope I am not too OT.
How do I write printf("Content-type:%s\r\n\r\n",type) in Pascal ?
I am translating a library of mine written in C into Pascal. How do
I write \r\n\r\n in Pascal?
I tried with write(chr(13)+chr(10)+chr(10)+chr(13)), or
write(#13#10#13#10), but I always get "Premature end of script headers"
I need it to write a CGI program in FreePascal
Thanks in advance
Francesco
--
Teaching OnLine
Corsi online di programmazione
Php, Asp, C, C++, Visual Basic, Delphi
Linux Shell Programming
------------------------------------
http://www.teachingonline.it