Quick question, which I haven't been able to find yet.

How would I add a Cr and Lf to a static string:



sRequest: string :="GET / HTTP/1.1";


Thanks.
Posted on 2005-01-31 07:20:29 by polyfractal
Sorry, just got it:



sRequest: string :="GET / HTTP/1.1" #13 #10;


Mods, feel free to delete this thread. My fault
Posted on 2005-01-31 07:22:39 by polyfractal
Sorry, just got it:



sRequest: string :="GET / HTTP/1.1" #13 #10;


Mods, feel free to delete this thread. My fault


Alternatively:

sRequest: string :="GET / HTTP/1.1" nl;

This will ensure the proper sequence is attached depending on
which operationg system the code is compiling under.
Posted on 2005-02-01 22:25:14 by Kain