On Wed, 23 Mar 2016, Juha Manninen wrote:
Hi Is there a function like IsValidIdent but accepting also dots (.), as in name "TForm1.Action1Execute"? While fixing a bug: http://bugs.freepascal.org/view.php?id=25954 I copied and modified IsValidIdent. It was easy to do, sure, but I would prefer to reuse an existing function especialy because this looks like a common use case. Codetools has a suitable IsDottedIdentifier() but I need it in IDEIntf code which must not depend on Codetools.
IsValidIdent in sysutils handles dots. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal