Kbase P87505: Error 247, 254 passing static handle reference to a procedure
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/2/2006 |
|
Status: Unverified
SYMPTOM(s):
Error 247, 254 passing static handle reference to a procedure
Error 201 passing static handle reference to a function
** Unable to understand after -- "<string>". (247)
** Unable to understand after -- "RUN". (247)
** Invalid statement. (254)
** Unknown Field or Variable name - <field-name>. (201)
** Unknown Field or Variable name - [name of user defined function]. (201)
Handle referenced as "object-type object-name:HANDLE"
(example: "BUFFER Customer:HANDLE")
CAUSE:
The compiler does not properly recognize the static handle reference as expression for a number of objects.
FIX:
Enclose the static handle reference in parenthesis, or supply the INPUT keyword for the parameter.
For example if a RUN statement looks like:
RUN compare (BUFFER buffer1:HANDLE, BUFFER buffer2:HANDLE).
It should be written as
RUN compare ( (BUFFER buffer1:HANDLE) , (BUFFER buffer2:HANDLE) ).
or
RUN compare ( INPUT BUFFER buffer1:HANDLE , INPUT BUFFER buffer2:HANDLE ).