[fpc-pascal] IsValidIdent() and identifiers escaped with &

Jürgen Hestermann juergen.hestermann at gmx.de
Sun Feb 5 15:53:00 CET 2017



Am 2017-02-05 um 15:24 schrieb Howard Page-Clark:
> var
>   &begin: boolean;

Is that a valid identifier?
Here
http://wiki.lazarus.freepascal.org/Identifiers
it says:

Rules for identifiers:

  * Must begin with a letter from the English alphabet or an underscore (_).
  * Can be followed by alphanumeric characters (alphabetic characters and numerals), or the underscore (_).
  * May not contain special characters, such as:

  ~ ! @ # $ % ^ & * ( ) + ` - = { } [ ] : " ; ' < > ? , . / | \


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170205/c4aca417/attachment.html>


More information about the fpc-pascal mailing list