Revision [15762]

This is an old revision of ProPgIdentifierRules made by CountingPine on 2012-01-22 23:35:25.

 

Identifier Rules


Naming conventions for FreeBASIC symbols.

Description:
Identifiers may contain only uppercase and lowercase Latin characters a-z and A-Z), digits (0-9), and the underscore character (_). The first character of an identifier must be a letter or underscore, not a digit.
Identifiers are case-insensitive: FOO and foo (and all other permutations of uppercase and lowercase) refer to the same symbol.
In the CompilerOptlang -lang qb and CompilerOptlang -lang fblite dialects, identifiers may have a type suffix at the end indicating one of the standard data types:
The use of these symbols is generally discouraged in and is not allowed in the CompilerOptlang -lang fb dialect (the default).
The alternative is to be explicit - for example, Dim As Integer foo or Dim foo As Integer instead of Dim foo%.
In the CompilerOptlang -lang qb and CompilerOptlang -lang fblite dialects, identifiers may contain one or more periods (.).

Dialect Differences:
Differences from QB:
See also:
Back to Programmer's Guide
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode