On 4/18/16, Bart <bartjun...@gmail.com> wrote: >> I recently did some work on it; the class works completely wrong IMO, and
As a side note: function ValidateInput : string; The function raises an exception upon failure. Since we did not have to follow Delphi here, a better declaration IMHO would have been: function ValidateInput (out ValidatedString: string): Boolean; or as a pair of functions (like the conversion routines for strings): function ValidateInput : string; function TryValidateInput (out ValidatedString: string): Boolean; Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal