Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does Xref exist for qb64 ?
#1
The thing I miss most about my assembly writing days is the compiler command to Xref a source file.  On extremely large or multi-module assembly programs knowing all the source lines referencing a variable or value was fantastic.  It was easy to get to all source lines that contained something found in the xref list.  So easy, if a re-write or bug hunt was needed.  It was like shooting fish in a barrel.   Likely the 'C' compiler used in QB64 has that function.  But referencing back to the source would be problematic.

Has someone found or created Xref for QB64 ?
Reply
#2
Can one use this? It looks like it is independent of the programming language. XREF

Or this: The -XREF Option

PS: That looks really well . . .  Explanation -- and it seems to be a Basic treasure trove: Crescent Software  A double effect from Doppler!  Big Grin
Reply
#3
(10-27-2024, 04:10 PM)Kernelpanic Wrote: Can one use this? It looks like it is independent of the programming language. XREF

Or this: The -XREF Option

PS: That looks really well . . .  Explanation -- and it seems to be a Basic treasure trove: Crescent Software  A double effect from Doppler!  Big Grin
The github version looks interesting.  Here's the but it was targeted at "Microsoft compiled BASIC for DOS".  Which makes it Very specific what dos and environment it works in.  Since Xref.exe is in the source files, I could use dosbox to execute it.  Let's see how that works out.

This could be the basis of making a QB64pe version of xref.  There has been many feature changes since qbasic days.  Just a couple ....
Reply




Users browsing this thread: 1 Guest(s)