Project

General

Profile

Bug #10527

Using DISPLAY with DEFINED STREAMS and DOWN WITH FRAME leads to incorrect content in the output file

Added by Delia Mitric 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Delia Mitric 11 months ago

Here is the testcase:

DEFINE STREAM sout.
OUTPUT STREAM sout TO test.txt.

DEFINE VARIABLE i AS INTEGER NO-UNDO.
DEFINE VARIABLE line AS CHARACTER NO-UNDO.
DO i = 1 TO 10:
    line = STRING(i).
    DISPLAY STREAM  sout line WITH FRAME f.
    DOWN WITH FRAME f.
END.

OUTPUT STREAM sout CLOSE.

  • test.txt in FWD:
    line
    --------
    10
    
    
  • test.txt in Progress:

Also available in: Atom PDF