> Date: Tue, 01 Aug 2006 11:22:37 -0600
> From: Stephen Posey <[EMAIL PROTECTED]>
> Subject: Re: Telnet, Indy9, text file conversion;
> To: Borland's Delphi Discussion List <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> [EMAIL PROTECTED] wrote:
> <snipz>
>
> > Yes you can use your telnet component to retrieve a string.
> > Standard pascal read routine will read comma separated
> > fields
>
> I'm not aware of how to do that with the Read() or ReadLn() routines
> (which is what I presume you mean); at least not without reading an
> entire line as a string and then parsing.
>
> Can you clarify?
>
> Stephen Posey
> [EMAIL PROTECTED]
>

Hi Stephen
It goes like
  OpenFile(handle)

read(File, Var1, Var2, Var3...);
fairly sure it goes like that but out of practice.
For me I'd readln then parse myself - more control and more control I could
get like BillG :)

Not sure if you can cast a memorystream as a filestream
be nice if you could

mick

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to