05-11-2022, 06:35 AM
(05-09-2022, 03:21 AM)bplus Wrote:The snippet is in the same folder as the A to Z files (and QB64.exe), it is set to compile into the same directory, and the QB64 folder is all white-listed.(05-09-2022, 01:31 AM)PhilOfPerth Wrote: @bplus I just tried to use the snippet you posted to remove empty lines, but got an error "C++ Compilation failed". On checking, I've found I can't produce ANY new program in QB64... even a simple "SCREEN 12 : PRINT "OK" : SLEEP. All my other progs re-compile OK, even when I make minor changes to them. Totally confused. I'm still checking.
You have to Save the snippet in the folder with the files being stripped of blank line and you have to make sure in the Run Menu of the IDE is set to Save Exe in same folder as Source
I've tried REMing out all but the for and next lines, and it still won't compile! I can write progs now and save them and they compile ok and run.
I need a coffee!