Kbase P68053: When reading file contents with READKEY, will a dot (.) be i
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/02/2004 |
|
Status: Unverified
GOAL:
When reading file contents with READKEY, will a dot (.) be interpreted literally or as END-ERROR?
GOAL:
Will a dot (.) read by READKEY be converted to END-ERROR when reading from a file?
FACT(s) (Environment):
Progress 9.x
FACT(s) (Environment):
Progress 8.x
FIX:
READKEY will interpret a dot read from a file (generally with INPUT FROM) as a dot not as END-ERROR.
This is expected behaviour.
Progress documentation states the following:
"If the current input source is a file, then READKEY reads the next character from that file and returns the value of that character (1 to 255) to LASTKEY. READKEY does not translate periods (.) in the file into the ENDKEY value. It does translate end of line into RETURN (13), but it cannot read any special keys, such as function keys."