mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-08-14 02:26:10 +00:00
Trying to track down file write corruption
This commit is contained in:
Binary file not shown.
@@ -438,9 +438,8 @@ def readtxt(filename, startline)#0
|
|||||||
putln
|
putln
|
||||||
end
|
end
|
||||||
def writetxt(filename)#0
|
def writetxt(filename)#0
|
||||||
word i, strptr
|
word i
|
||||||
byte refnum, j, chr
|
byte refnum, txtbuf[MAXLNLEN+2]
|
||||||
byte txtbuf[MAXLNLEN+2]
|
|
||||||
|
|
||||||
fileio:destroy(filename)
|
fileio:destroy(filename)
|
||||||
fileio:create(filename, $04, $00) // full access, TXT file
|
fileio:create(filename, $04, $00) // full access, TXT file
|
||||||
|
Reference in New Issue
Block a user