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

Data field

func_id

User function

listbox_id

Listbox

menu_id

Menu

ole_ctrl_id

OLE control

record_id

Temporary record layout

report_id

Report

textfile_id

Configurable text file

window_id

Window

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.