Re: GW-Basic




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.
.



Relevant Pages

  • Re: New HDD Installation
    ... "John John" wrote: ... a single partition disk. ... confirm or change the active flag of the partition using the FDISK command. ... There are other ways to mark the partition active, either with a Windows ...
    (microsoft.public.windowsxp.general)
  • Re: Windows XP boot failure
    ... If you have a friend with a real Windows ... read/write to the drives using a command line ... For more information on a specific command, ... CHKDSK Checks a disk and displays a status report. ...
    (microsoft.public.windowsxp.basics)
  • RE: Win2000 Upgrade to SP3 Express Setup error.
    ... Start your computer with the Windows Setup floppy disks, ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ... you cannot copy a file from the local hard disk to a floppy disk. ...
    (microsoft.public.win2000.setup_upgrade)
  • error on startup
    ... you can't repair them while Windows ... Product Support Services to obtain the fix. ... blank formatted 3 1/2-inch disk in to the disk drive. ... then press ENTER after each command: ...
    (microsoft.public.windowsxp.accessibility)
  • error on startup
    ... you can't repair them while Windows ... Product Support Services to obtain the fix. ... blank formatted 3 1/2-inch disk in to the disk drive. ... then press ENTER after each command: ...
    (microsoft.public.windowsxp.accessibility)

Loading