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

Sven Barth pascaldragon at googlemail.com
Sun Feb 5 20:26:20 CET 2017


Am 05.02.2017 15:53 schrieb "J├╝rgen Hestermann" <juergen.hestermann at gmx.de>:
>
>
>
> 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:
>
>  ~ ! @ # $ % ^ & * ( ) + ` - = { } [ ] : " ; ' < > ? , . / | \

http://freepascal.org/docs-html/current/ref/refse4.html#x16-150001.4

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


More information about the fpc-pascal mailing list