Each attempt to run a QuickBasic program stalls at the first attempt to RUN another basic file (error 53 - File not found). No problem earlier in code, apparently, finding a file using OPEN. I have tried full path, checking case, all to no avail. My program consists of many basic files RUN from a menu in another basic file which works perfectly in Qbasic. I have kept same directory structure for QB64 as my Qbasic one, duplicating directories and files where necessary so that code should not require changing.
Is it the case that in converting and attempting to run my opening basic file QB64 is tripping over an unconverted basic file being called with RUN? How then best to convert all the basic files - there are rather a lot of them!
QB64 seems marvellous, and would be useful on my W7 notebook.
Cheers
Following is code for opening section of first bas file in chain with offending RUN at line -5.
DECLARE SUB Stickman (man$)
REM Opening screen for Sequence Lists
CLEAR , , 10000
m% = -1
FOR C% = 1 TO 9
READ C$(C%) ' Letters of title - SEQUENCE
NEXT C%
OPEN "Progress.cfg" FOR INPUT AS #1
INPUT #1, switchS%, TitleS%, note%, runN%
CLOSE #1
runN% = runN% + 1
ON PLAY(10) GOSUB BackgroundMusic
PLAY ON
SELECT CASE switchS%
CASE 0
switchS% = 1
SELECT CASE TitleS%
CASE 0
IF note% <> 0 THEN note% = 1
GOSUB BackgroundMusic
GOSUB SetUp
GOSUB SplashScreen
action% = 0
CASE 1
action% = 0
CASE ELSE
TitleS% = 0
action% = 1
END SELECT
CASE 1
switchS% = 0
SELECT CASE TitleS%
CASE 0
action% = 1
CASE 1
GOSUB ConfigData
SYSTEM
END
CASE ELSE
TitleS% = 0
action% = 1
END SELECT
CASE ELSE
switchS% = 0
action% = 1
END SELECT
IF action% = 0 THEN
GOSUB ConfigData
RUN ".\Sequence\Seq01.bas"
ELSE
GOTO Quit
END IF
END