CompuServe Thread

AREXX Problem

1 messages in this thread
#32397From: Greg WhiteJan 27, 1989 8:38 PM
I just got AREXX and am having a small problem with file I/O and I thought maybe you could help. Here is a sample program that illustrates the trouble. * Save BBS Connect Date and Time */ address command say open(TEMP,'dh0:AT/Board.temp','W') say open(BBS,'dh0:AT/BoardDates','R') do while ~ eof(BBS) NextLine = readln(BBS) say writeln(TEMP,NextLine) end say close(BBS) say close(TEMP) exit When I run this it executes fine except that the Board.temp file always has an extra LF character appended to the end of the file. If I rename the file and run the program again, it will append an additional LF character each time. What's up? I assume it's something I'm doing wrong but what?