[fpc-pascal] Ping problems - OS/X

Mattias Gaertner nc-gaertnma at netcologne.de
Wed May 21 21:50:27 CEST 2014


On Wed, 21 May 2014 21:44:10 +0200
Peter Brooks <peter.brooks at kchclinics.com> wrote:

> Yes, thank you. The best thing I've learned is to be suspicious of examples...
> 
> I've got it now, thank you all for the assistance.
> 
> I took AStringList.Add() to mean that it added the string to the list
> of strings - I was wrong..
> 
> I did note that the example said that it was flawed, but, foolishly,
> as it turned out, I thought it meant 'flawed' rather than 'doesn't
> work at all'.

Do you mean this example:
http://wiki.freepascal.org/Executing_External_Programs#An_improved_example_.28but_not_correct_yet.29

It works here.
What is wrong?

Mattias



More information about the fpc-pascal mailing list