Adding at the start of a text string I’m running into one problem after another with this assignment I’m doing. Harrr. This time it’s about the output file that I’m trying to create with a textStream. I believe I’ve found a partial solution to some of the problems I have if I can add text lines to the start of the text file. I’ve tried it, but no matter what I do, the original first line always get overwritten. I first tried a normal new file open(name,nw). then I tried to create a new file, close it, then open the file in append mode open(name,a). Nothing helps. Is it at all possible to add text to the front of a text stream? ASPT | Duh! When you put it that way it is perfectly clear. Thanks!
|
|