Computing.Net > Forums > Disk Operating System > How to convert GW Basic file to plain te

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

How to convert GW Basic file to plain te

Reply to Message Icon

Name: TY Lam
Date: June 20, 2001 at 21:48:26 Pacific
Comment:

I inherited a few GW Basic files. I managed to list that in GWB. But it fly by so fast that I can see anything (that thing is 1600+ lines long). I tried to save it it with the ",a" option. I got the same mumbo-jumbo. How do I convert the file to a ASCII file so that I can read that? Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: joe
Date: June 21, 2001 at 13:00:48 Pacific
Reply:

The..

save "file",a

..option should have worked fine as it does here on gwbasic version 3.22


0

Response Number 2
Name: Rigel
Date: June 24, 2001 at 21:41:29 Pacific
Reply:

I think another option is to open it in QBASIC using the QBASIC /MBF option. MBF stands for Microsoft Binary Format which is the format used by GWBASIC.

If this succeeds then you can just save it as text in QBASIC.


0

Response Number 3
Name: Manmountain dense
Date: August 1, 2001 at 04:29:20 Pacific
Reply:

huh? The only difference between a *.bas file and a *.doc file in the extension. Your Basic interpretor reads a standard text file with the .bas extension and interprets if from there, If you would like to read a few lines in the interpretor, just use the command, "LIST" and a series of line numbers such as 10-100. Example:
LIST 100-200


0

Response Number 4
Name: Strafer
Date: December 31, 2001 at 20:18:08 Pacific
Reply:

To look at a gwbasic program easily just save it a different way:

LIST,"name" (last quote unnessesary)

Now the program should be saved in standard ASCII format, instead of BASIC format.

Using explorer.exe or 'My Computer' go to the folder where basic.exe is and right click on the file "name.bas" WHILE HOLDING THE SHIFT BUTTON DOWN. Select 'open with' and scroll down to Notepad.

Very easy viewing and printing AND EDITING! I now use Notepad to write and edit my basic programs, so I've binded Notepad to .bas files!

Hope I have helped.


0
Reply to Message Icon

Related Posts

See More


Help with DOS 6.22 Instal... MsDos. 5.0 can anyone hel...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: How to convert GW Basic file to plain te

Gw Basic www.computing.net/answers/dos/gw-basic/2576.html

How to Make a .bat file 2 run programs on usb www.computing.net/answers/dos/how-to-make-a-bat-file-2-run-programs-on-usb/16975.html

Can an old GW Basic program be converted www.computing.net/answers/dos/can-an-old-gw-basic-program-be-converted/7041.html