Consultor Eletrônico



Kbase P113689: Characters truncated when output to stream
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Characters truncated when output to stream

One or more characters are missing between lines of output

Using DISPLAY STREAM ... VIEW-AS EDITOR

Display using EDITOR widget

Display option STREAM-IO is not used

CAUSE:

If STREAM-IO is not used DISPLAY behaves as if the output might go to the screen afterwards.

In this case the following screen-specific behavior is taken into account and changes the way the text is formatted in the stream: the EDITOR widget can scroll. Some parts of the text can be hidden and the user must scroll to see them. This causes truncation of text at end of lines in some cases.

FIX:

Use option STREAM-IO with DISPLAY statement.