Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUG? Compile errors with filenames that contain $ in them.
#1
Working with an error in my QB64 IDE, with the help of RNBW, (posted about here) it was discovered the latest version of QB64 won't compile correctly when the .BAS filename has an $ in it.  Previous QB64 versions did compile them, but not v0.6 and newer.

Example, save a file with $ in it, like Money$.bas, it will have a compile error.  Without the $ it will compile.

- Dav

Find my programs here in Dav's QB64 Corner
Reply
#2
That's entirely possible, I'll investigate it later Smile It is a little odd that it doesn't work with v0.6.0 though, because the changes that I suspect caused this problem were made in v0.7.0. Either way, I believe it should be solvable, but for the moment if you can I would just avoid the dollar signs.
Reply
#3
(06-05-2022, 04:15 PM)DSMan195276 Wrote: That's entirely possible, I'll investigate it later Smile It is a little odd that it doesn't work with v0.6.0 though, because the changes that I suspect caused this problem were made in v0.7.0. Either way, I believe it should be solvable, but for the moment if you can I would just avoid the dollar signs.

Ouch! I have hundreds of files whose name contains $ however, these are included files: I hope it is not a cause of error
Reply
#4
I figured it out, I have a PR with the fix here: https://github.com/QB64-Phoenix-Edition/QB64pe/pull/106


If you want to try it out the fixed version you could grab the build from that PR. I anticipate we'll make a v0.8.1 patch release soonish with this fix along with a few others.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is this a bug with Round or is it just me BarrySWTP 10 1,244 07-07-2025, 08:40 PM
Last Post: BarrySWTP
  Exiting FOR NEXT, maybe a bug? Version 4.1.0 on Linux Circlotron 4 843 05-09-2025, 02:22 AM
Last Post: Circlotron
  Compile failure Debian 12 bigriverguy 2 572 03-18-2025, 08:15 PM
Last Post: Cloudiex
  Compile error when .bas name is same as a directory (linux) Dav 3 773 10-18-2024, 03:32 PM
Last Post: Kernelpanic
  I have fallen in a bug or weird behaviour TempodiBasic 2 669 10-08-2024, 06:09 PM
Last Post: TempodiBasic

Forum Jump:


Users browsing this thread: 1 Guest(s)