AllBASIC

BASIC Developer & Support Resources => Open Forum => Topic started by: eoredson on November 14, 2018, 09:39:48 pm

Title: Convert old QB binary source to ascii
Post by: eoredson 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.
Title: Re: Convert old QB binary source to ascii
Post by: John 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.
Title: Re: Convert old QB binary source to ascii
Post by: eoredson 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.
Title: Re: Convert old QB binary source to ascii
Post by: John 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.
Title: Re: Convert old QB binary source to ascii
Post by: eoredson on November 14, 2018, 10:13:30 pm
Ok, thanks, I was just curious if anyone had ever heard of such a program :-\

Erik.
Title: Re: Convert old QB binary source to ascii
Post by: AlyssonR 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.