Background: For many years I've used a GW BASIC program I wrote and have improved over the years, (Now on V16,1)
I have an old computer with a XP OS that I keep specifically so I can still use the program as Win10 won't run GW BASIC. It is a shopping program that controls household groceries, records stock on hand, calculated reorder points and produces a shopping list in pick order for the supermarket I use. No graphics involved, just straight operating code.
Problem: I've recently decided to use PC BASIC which will run GW BASIC programs. It works fine in all but one critical area. Saving both the program after amendments have been made and also saving the data files don't work, though loading the existing program and data works fine. No error message; it appears to work, but no save occurs.
I have the files inside the Program Files (X86)/PC BASIC folder. Here is the affected program lines:
First the ones that do work:
The program opens via the PC BASIC initial screen and LOAD "SHO16_1". Also,
<line number> OPEN "I" #1,"SHO16dat.DTA" ( which loads the program data file)"
The ones that don't work:
<line number> SAVE "SHO16_1" (The program after amendments)
<line number> SAVE "SHO16_1.TXT" (The program as a text document)
<line number> OPEN "O" #1,"SHO16dat.DTA" ( which saves the program data file)"
I am assuming any save would be in the PC BASIC folder, where the load came from. If it is saved elsewhere then "Search" can't find it.
Would love some help with this if possible.
Problem: I've recently decided to use PC BASIC which will run GW BASIC programs. It works fine in all but one critical area. Saving both the program after amendments have been made and also saving the data files don't work, though loading the existing program and data works fine. No error message; it appears to work, but no save occurs.
I have the files inside the Program Files (X86)/PC BASIC folder. Here is the affected program lines:
First the ones that do work:
The program opens via the PC BASIC initial screen and LOAD "SHO16_1". Also,
<line number> OPEN "I" #1,"SHO16dat.DTA" ( which loads the program data file)"
The ones that don't work:
<line number> SAVE "SHO16_1" (The program after amendments)
<line number> SAVE "SHO16_1.TXT" (The program as a text document)
<line number> OPEN "O" #1,"SHO16dat.DTA" ( which saves the program data file)"
I am assuming any save would be in the PC BASIC folder, where the load came from. If it is saved elsewhere then "Search" can't find it.
Would love some help with this if possible.