Login
Back to forumReply to this topicGo to last reply

Posted By

SVS
on 2003-10-27
 64HDD bug

I wish to signal all you that on HDD64 still remains an dangerous bug.
When you save a file whose name is still existing, 64HDD simply does replace the old file with that one you're saving, without ANY warning message. Even checking DS or ST you do not have any way to be warned of.
Nick is informed of this, but it seems he considers it not so important.

Posted By

JamesC
on 2003-10-28
 Re: 64HDD bug

In this case some additional code may be required:

1000 INPUT FILENAME$ : FILENAME$=LEFT$(FILENAME$,16) + ",S,R"
1010 DISK=DS : REM ASSIGN DS TO A NEW VARIABLE FOR LATER TESTING
1020 OPEN8,8,8,(FN$)
1030 DISK=DS : REM IF FILE EXISTS THEN DISK = 0, OTHERWISE FILE NOT FOUND
1040 CLOSE 8
1050 IF DISK = 0 THEN PRINT "FILE EXISTS" : GOTO 1000
1060 RETURN (to where the program saves the file)

I am assuming that ST and DS are updated properly when a file is opened for reading.

Posted By

SVS
on 2003-10-28
 Re: 64HDD bug

>>... am assuming that ST and DS are updated properly when a file is opened for reading.

Unfortunately not
There is no way with 64HDD to do this control.



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon