02-18-2024, 06:14 PM
(02-18-2024, 10:50 AM)bplus Wrote: And _CWD = "Current Working Directory", QB64 has that built in and tracks for you. You can use it to check where you are in your folder system as your program is running.Thanks! This works:
And also you can use _FileExists(PathedFileName$) to check that the file (at the optional named path) does exist and you can open it without error.
OPEN "C:\MYSTUF~1\MYFILE~1\QB\GEOGRAFY\PMAP1.PNT" FOR RANDOM AS #1 LEN = LEN(PNTData)
The source file and the executable file are in the folder:
\GEOGRAFY\GEAMAP\
So want should have been the correct abbreviated form of the statement?
Also, in QB64 do I have to use MYSTUF~1 as in QBASIC and DOS (instead of MYSTUFF)?