Home Forums HTBasic Forum HT Basic Git Diff Tool

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5252
    PMaynard
    Participant

      I’m currently trying to manage our legacy code written in Hp/HT Basic and I haven’t found any diff tools that will play nice with a .prg file other than displaying in hex. Has anyone here had any luck with any diff tools? Thanks in advance.

      #5255
      ZeRider
      Participant

        Hi, do you try Beyond Compare from Scooter software ?
        Work great if you copy-paste the HTBasic code with text format choice

        #5960
        PMaynard
        Participant

          Hey ZeRider,

          I figured out you can save it as a .BAS file type and it can use the git diff tool that comes with git to compare files. Thanks for the reply!

          #7581
          Anonymous

            I appreciate your effort in providing knowledge. I render service as tax consultancy so if you want to avail of it, then you can simply go through it.

            #8561
            Anonymous

              One option is to add the following two lines two your source.

              ! RE-STORE “C:\PATH\MYPROG” ! Save prog version
              ! RE-SAVE “C:\PATH\MYPROG.txt” ! Save ASCII text version

              Then when you make a modification to your code you can also highlight and execute the re-save line. Then in git you can track the changes that happen in the ascii version when you check it into the repository.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.
            Scroll to Top
            HTB icon

            Please Sign In