Identifier naming rules¶
Identifiers are assigned by the programmer to objects and structures as part of their definition, and are subsequently used to reference that object throughout the program. In this documentation the suffix “_id” is used to indicate an identifier, the prefix indicating the object type. Examples are:
field_id |
|
func_id |
|
listbox_id |
|
menu_id |
|
ole_ctrl_id |
|
record_id |
|
report_id |
|
textfile_id |
|
window_id |
Identifier names may contain the following characters only:
1 |
Alphabetic characters in upper or lower case: A-Z and a-z |
2 |
The numerals: 0-9 |
3 |
The underscore character: _ |
Note the following restrictions:
1 |
The first character of an identifier may not be a numeral. |
2 |
Sculptor keywords may not be used as identifiers. A simple way to avoid conflict with current or future keywords is to capitalise the first character of each word. |
Further restrictions relating to duplication of identifiers may apply.