On Wed, 21 May 2014 21:44:10 +0200 Peter Brooks <peter.bro...@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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal