|Subject:||Re: Why is Connect() located before "try" instead of in it?|
|Posted by:||Remy Lebeau (TeamB) (email@example.com)|
|Date:||Fri, 7 Jul 2006|
"Vincent Delporte" <justa…@acme.com> wrote in message
> why Connect is located _before_ the "try" section instead
> of _in_ it?
No particular reason. Probably just the personal preference of whoever
wrote the examples.
> I would expect the tentative instructions to all be located
> between the try and except statements
They usually are, ie:
IdTCPClient1.Host := 'localhost';
IdTCPClient1.Port := 80;
> Did Delphi 2006 introduce the try/except/finally structure?
No. That has been available in Delphi for a long time.
Why is Connect() located before "try" instead of in it? posted by Vincent Delporte on Fri, 07 Jul 2006