On 22.03.2016 8:01, Michael Van Canneyt wrote:
1. I change the code to raise an exception instead (as was my original plan)

This is the way to go. False should be returned if nothing was found.
In case there are problems with starting parameters (or string list status or whatever), an exception should be thrown instead of returning false as if nothing was found.

Ondrej
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to