4NT V8
fileopen[file,w,b]
"w"rite appears to make no difference if file exists but seems to behave as tho
"a"ppend is in affect
I would expect the file empty with "w"rite parameter
example from help file altered to show above.
do r=14 to 8 by -1
set h=%@fileopen[myfile.txt,write,b]
echo writing %@filewriteb[%h,%r,this is a test] bytes
echo closing handle #%h: %@fileclose[%h]
enddo
fileopen[file,w,b]
"w"rite appears to make no difference if file exists but seems to behave as tho
"a"ppend is in affect
I would expect the file empty with "w"rite parameter
example from help file altered to show above.
do r=14 to 8 by -1
set h=%@fileopen[myfile.txt,write,b]
echo writing %@filewriteb[%h,%r,this is a test] bytes
echo closing handle #%h: %@fileclose[%h]
enddo