Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Other Syntax Segments > Identifier >

Using GLOBAL as the Name of a Variable

If you attempt to define a variable with the name global, the define operation fails. The syntax that the following example shows conflicts with the syntax for defining global variables:

DEFINE global INT; -- fails;

If the DELIMIDENT environment variable is set, you could use global as a variable name, as the following example shows:

DEFINE "global" INT; -- successful

Important:
Although workarounds that the preceding sections show can avoid compilation or runtime syntax conflicts from keywords used as identifiers, keep in mind that such identifiers tend to make code more difficult to understand and to maintain.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]