Consultor Eletrônico



Kbase P113728: Using block header/label as @@myblock and getting errors 3583 and 196 when compiling
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/05/2006
Status: Verified

FACT(s) (Environment):

OpenEdge 10.1x

SYMPTOM(s):

Getting error 3583 and 196 during compile

Unable to understand statement <statement>. (3583)

Error 196: ** <program> Could not understand line <number>. (196)

Unable to understand statement @@<name>. (3583)
** <include name.i> Could not understand line 2. (196)
<procedurename.p> ERROR !!

Using block header/label as @@myblock:

'@' used in a block header/label name will compile in versions 10.0B or lower

'@' used in block header/label name will not compile in version 10.1A or higher

CAUSE:

In 10.1A 4GL annotations were introduced. The syntax for an annotation is
@<annotation name> [(attribute = "value",[attribute = "value"]).

Thus the @ sign is now recognized by the compiler as a keyword.

CAUSE:

Bug# 20060223-010

FIX:

Upgrade to Release 10.1A01 or higher.

If unable to upgrade then the workaround is to replace the '@' special character in the beginning of the block header/label name with a different character.