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
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.
..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.
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!
Summary: I want to force a GW Basic program to print to LPT2 instead of the default LPT1. The program uses the line - LPRINT CHR$(P2) ;:NEXT Where P2 refers to screen positions. The book does not show how to...
Summary: Hey .. .i've been wondering is there anyway to make a .bat file to run programs on a usb?.. so that it will either ask you to input a name to run the software.. or it will give u a list to chose from....
Summary: I have a fairly simple, homemade program written in (I believe) GW Basic in the late 80's. The file is of the form .bas. I can no longer run the program on most systems these days (strangely, unless t...