Author Topic: Convert old QB binary source to ascii  (Read 232 times)

Offline eoredson

  • BASIC Developer
  • Posts: 14
  • Programmer Elite
    • Oredson QB45 files at Filegate
Convert old QB binary source to ascii
« on: November 14, 2018, 09:39:48 PM »
I recently noted a user who wants a program that converts old QB11/45 binary saved files to ascii..

Any ideas?

Erik.

Offline John

  • Forum Support / SB Dev
  • Posts: 2191
    • ScriptBasic Open Source Project
Re: Convert old QB binary source to ascii
« Reply #1 on: November 14, 2018, 09:48:22 PM »
I would install DOSBox and find a copy of QuickBASIC on the web to load the binaries snd save them as text.

Offline eoredson

  • BASIC Developer
  • Posts: 14
  • Programmer Elite
    • Oredson QB45 files at Filegate
Re: Convert old QB binary source to ascii
« Reply #2 on: November 14, 2018, 09:57:59 PM »
I know Qbasic itself will do it one by one, but he has 200 files and wants a program to do them in a batch file.

Erik.

Offline John

  • Forum Support / SB Dev
  • Posts: 2191
    • ScriptBasic Open Source Project
Re: Convert old QB binary source to ascii
« Reply #3 on: November 14, 2018, 10:11:21 PM »
Worse case, it shouldn't take more than an hour to do them one by one. If that is too much of a hassle, the code wasn't worth converting in the first place.

Offline eoredson

  • BASIC Developer
  • Posts: 14
  • Programmer Elite
    • Oredson QB45 files at Filegate
Re: Convert old QB binary source to ascii
« Reply #4 on: November 14, 2018, 10:13:30 PM »
Ok, thanks, I was just curious if anyone had ever heard of such a program :-\

Erik.

Offline AlyssonR

  • Advocate
  • Posts: 125
Re: Convert old QB binary source to ascii
« Reply #5 on: November 15, 2018, 01:43:15 AM »
I used to use QB to generate DOS Batch files in order to automate tedious, repetitive tasks.

A text file with a one-per-line list of the QB files for input should allow the generation of a batch to do the conversion.

Mind you, I never saved *anything* in bytecode format from QB - I like to edit my files in somethingelse, after all.