| tkchia 02.02.2021, 14:35 |
Good way to check if file already opened? (GW-BASIC porting) (Developers) |
Hi all, --- |
| Ringding 02.02.2021, 20:57 @ tkchia |
Good way to check if file already opened? (GW-BASIC porting) |
> The 1983 implementation basically looks through GW-BASIC's own table of |
| tkchia 04.02.2021, 09:05 @ Ringding |
Good way to check if file already opened? (GW-BASIC porting) |
Hello Ringding, --- |
| rr Berlin, Germany, 02.02.2021, 21:16 @ tkchia |
Good way to check if file already opened? (GW-BASIC porting) |
> I am trying to port the --- |
| Laaca Czech republic, 02.02.2021, 22:18 @ tkchia |
Good way to check if file already opened? (GW-BASIC porting) |
You can use the exclusive file access. You probable open files via INT21h/AX=3Dh --- |
| tkchia 13.02.2021, 19:23 @ Laaca |
Good way to check if file already opened? (GW-BASIC porting) |
Hello Laaca, --- |
Thread view
. Interestingly, the current version seems to do exactly the same thing and only look at the file name. I get the "File already open" error (might not be the exact wording, I seem to have a German version of GW-BASIC) when trying to remove a file with the same name as another one I'm keeping open in another directory.