[progress Communities] [progress Openedge Abl] Forum Post: 11.5: Read And Write A File 1:1

Status
Not open for further replies.
S

Stefan Marquardt

Guest
Hi, I noticed that this code is killing empty lines (I tried it with a normal df file). Here the shortest example: DEF STREAM s1. DEF STREAM s2. def var cLine as char no-undo. INPUT STREAM s1 FROM value("c:\temp\db.df"). output stream s2 to value("c:\temp\db_new.df"). REPEAT: IMPORT STREAM s1 UNFORMATTED cLine. put stream s2 unformatted cLine skip. end. How I can prevent that I miss empty lines in the new file?

Continue reading...
 
Status
Not open for further replies.
Top