Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-10

Re: A bug in documentation?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Vladimir Zhirov: Language Reference, Section 1.4 Identifiers says: Should "alphanumeric" be "alphabetic"…
Vladimir Zhirov wrote 14 lines
Hi, Language Reference, Section 1.4 Identifiers says: > Identifiers consist of between 1 and 127 significant characters > (letters, digits and the underscore character), of which the > first must be an alphanumeric character, or an underscore (_). Should "alphanumeric" be "alphabetic" here? Since alphanumeric = alphabetic + numeric it looks like starting an identifier with a number is valid, but it is not. (http://freepascal.org/docs-html/ref/refse4.html#x16-150001.4)

You are correct. I will correct this.

Michael.

Reply by email

Vladimir Zhirov

Hi,

Language Reference, Section 1.4 Identifiers says:

Identifiers consist of between 1 and 127 significant characters (letters, digits and the underscore character), of which the first must be an alphanumeric character, or an underscore (_).

Should "alphanumeric" be "alphabetic" here? Since
alphanumeric = alphabetic + numeric it looks like
starting an identifier with a number is valid,
but it is not.

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

Reply by email