Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64_Convert - To fix programs using $NOPREFIX
#1
As was mentioned here earlier, the metacommand $NOPREFIX, which allows use of new QB64 Phoenix functions, datatypes, and keywords, is deprecated and is likely to be removed in a subsequent release of the IDE and compiler. To help with this migration, I have written a program that, when given a QB64 Phoenix source file, fixes any keywords that require a _ prefix, and don't have it. identifiers that already have the _ prefix are unaffected.

It's a bit long to post here at about 400 lines, so you can download a copy off my repository at https://github.com/electric-socket/QB64_Convert. It is pretty much plug-and-play, load the program, compile and run it (or run the included executable), give it the name of the existing file, then where to save it, and within about 2 seconds the conversion will be completed. The program locks the old file in read-only mode until finished, so you can't accidentally delete or overwrite the original file.
While 1
   Fix Bugs
   report all bugs fixed
   receive bug report
end while
Reply


Messages In This Thread
QB64_Convert - To fix programs using $NOPREFIX - by TDarcos - 10-07-2024, 08:06 PM



Users browsing this thread: 2 Guest(s)