Consultor Eletrônico



Kbase P116129: Receiving errors (247) and (198) running Progress Language Reference sample code procedure r-prprc3
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/16/2006
Status: Unverified

SYMPTOM(s):

Receiving errors (247) and (198) running Progress Language Reference sample code procedure r-prprc3.p.

** Unable to understand after -- "<string>". (247)

** <program> Could not understand line <number>. (198)

/* r-prprc3.p */
&SCOPED-DEFINE My-Name "Daniel"
{r-prprc3.i &My-Name = "David"}
MESSAGE "My-Name preprocessed in r-prprc3.p is" {&My-Name} + "."
VIEW-AS ALERT-BOX.

/* r-prprc3.i */
MESSAGE "My-Name argument in r-prprc3.i is" "{&My-Name}" + "."
VIEW-AS ALERT-BOX.
&SCOPED-DEFINE My-Name "Donald"
MESSAGE "My-Name preprocessed in r-prprc3.i is" {&My-Name} + "."
VIEW-AS ALERT-BOX

CAUSE:

Syntax error. Missing period at the end of the statement:
{r-prprc3.i &My-Name = "David"}

FIX:

Ensure that there are no missing periods at the end of the statements.