Re: GW-Basic
- From: Stan Weiss <srweiss@xxxxxxxxx>
- Date: Thu, 09 Jul 2009 00:44:30 -0400
I took a cd-rom to which I had backup my Windows 3.1x disk partitions.
In a command prompt window I loaded
02/09/1988 01:00a 80,592 GWBASIC.EXE
D:
cd\c-drive\dos
gwbasic
GW-BASIC 3.22
(C) Copyright Microsoft 1983,1984,1985,1986,1987
60300 Bytes free
Ok
1LIST 2RUN? 3LOAD" 4SAVE" 5CONT? 6,"LPT1 7TRON? 8TROFF? 9KEY
0SCREEN
I did have problems loading a program and got an error "Direct statement
in file" no matter which bas file I typed to load.
When I loaded
09/30/1993 07:20a 130,881 QBASIC.HLP
09/30/1993 07:20a 194,309 QBASIC.EXE
I was able to load a program and run it to the point it stop on an error
"File not found"
which since the file was not there was a correct error to get. To the
best of my memory QBASIC ran fine except of a few commands.
Stan
bluerose wrote:
.
On Jun 1, 8:32 am, "Privado" <oceano.web...@xxxxxxxxxxxxxx> wrote:
In my opinion, I would advice you to rewrite the entire program. The time
you're going to waste in adapting it to another Basic Language/Compiler in
order to run under Xp, is not worth it.
Most of the the code will be changed, specially screen output, printer
output and eaven file I/O operations, which in the end will result in very
few instructions to be used. Instructions such as Locate, PRINT and LPRINT
have been removed or modified. File I/O has been changed. Variable
declaration have suffered a few minor changes.
Nevertherless you could try to find a compiler/converter for GWBASIC that
could convert the program to Windows environment, try google-it...
But consider my opinion....
NC
"Bruce Stiles" <jb2...@xxxxxxxxxxx> wrote in message
news:C3A6C1F9-024E-48B0-98CD-95DACE18CC8F@xxxxxxxxxxxxxxxx
I have a customer that runs a program through Basic. The routine will not
run in XP. I would like to get this converted over to another 'language'
such as VB. Is there a conversion routine available to convert the lines of
code? or is this a rewrite situation?
GWBASIC Programs are easy to write, has limitation but if you can?t
find another ready to go program, GWBASIC is a problem solver.
I?m not o programmer, but a start programming in GWBASIC since 1983
and me still making programs today.
In windows 2000 and, XP DOSSHELL won?t let you to ran GWBASIC.EXE.
You can go to command, type A: and you will get A:\>
If you type DIR you will see the directory of Floppy disk A.
COMMAND.COM
GWBASIC.EXE
SIMOPTIM.BAS
Now try Run GWBASIC.EXE typing GWBASIC
You will get:
You can not SHELL to BASIC.
To execute GWBASIC program you have to load DOS 3.3 ? 7.0
The OS for window XP is Microsoft Windows XP [Version 5.1.2600]
This OS cannot SHELL to BASIC.
There are only two options.
Find a PC or Note book with Floppy Drive.
Format a Floppy disk with the system. Load GWBASIC.EXE and run GWBASIC
Programs.
or
Load Quick Basic 4.5 in a formatted floppy disk, with system, and
compile your GWBASIC program and get an #########.EXE file.
This file transferred in a folder can be executed under XP with a
click of a mouse.
If you create a menu program under DOS to run multiple ####.EXE files
the menu program will run, execute first file and stops, why ? and
don?t know and have no time to figure out why. Keep in mind that
GWBASIC is an abandoned software, and there is no support anymore.
- References:
- Re: GW-Basic
- From: bluerose
- Re: GW-Basic
- Prev by Date: Re: Unicode Support in VB6
- Next by Date: Re: Unicode Support in VB6
- Previous by thread: Re: GW-Basic
- Index(es):
Relevant Pages
|
Loading