Consultor Eletrônico



Kbase 17182: When Progress Keywords Can be Used and When they Cannot
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

When you can use Progress keywords and when you cannot use them

FACT(s) (Environment):

Progress 4GL

FIX:

Within Progress, some keywords are reserved.

A keyword is:

A word with a predefined meaning in the Progress language.

A reserved keyword is:

A word that has a special meaning in Progress and cannot be
used as an identifier.

A list of keywords can be found in the Keyword Index chapter of the
Progress Language Reference: Widgets, Handles, Attributes & methods, Events & indexes. This list also provides you with information about whether or not a keyword has been designated as reserved or "non-reserved".

In order to determine whether or not a word is considered to be a Progress keyword (if you do not have access to the Progress Language Reference manual), use one of the following functions:

- The Progress function KEYWORD() tells you if a string is a
reserved keyword.

- The Progress function KEYWORD-ALL() tells you if a string is a
keyword.

Progress Reserved Keywords should not be used in procedures as object
names (this includes tables, fields, frames, variables, streams, etc).
If you attempt to use a reserved keyword, the following error is
displayed:

Error
This name is a PROGRESS keyword.
Please enter another name.

If you are migrating from one version of Progress to another and find
you need to use a reserved keyword, you can use the Keyword Forget
List (-k) parameter at startup. Progress suggests to use this startup
parameter only until the reserved keyword can be removed from your application.