Dec 072017
 
Quick Basic front end.
File PREQB.ZIP from The Programmer’s Corner in
Category BASIC Language
Quick Basic front end.
File Name File Size Zip Size Zip Type
PREQB.DOC 12607 3883 deflated
PREQB.EXE 21856 12042 deflated
TPCREAD.ME 199 165 deflated

Download File PREQB.ZIP Here

Contents of the PREQB.DOC file











INTRODUCING




PREQB.EXE

Version 1.0



"THE MASTER OF QUICK BASIC 4.0"





















Copyright 1988

Garry G. Kraemer
520 El Portal
Merced, CA 95340-0937
























This program is my first "C" program. I have spend several
time consuming hours staring at my CRT, studying BORLAND'S
TURBO C documentation, and wondering why I could not get
it to work!! Several times I felt defeated and was ready
to give up! But I didn't!

When I received my new Quick Basic Version 4.0, (Copyright
Microsoft), I noticed the complete lack of being able to
set the option switches from within the QB editor. Microsoft
had made major improvements in some areas and had gone backwards
in others! QB 2.0 and 3.0 allowed some of the options to be
set prior to compiling. In QB 4.0 they had been removed!
I thought it would be a challenge to see if I could design a
program that would set the desired options and execute the
QB 4.0 editor, compiler, and linker.

I have made every effort to insure this program is "SAFE".
I have run it on my system (40 MEG HD) and have not experienced
any problems! If you find a bug or have a suggestion please
drop me a line. I will make every effort to insure the problem
is corrected.

System Requirements:

QB 4.0 (Your REGISTERED Version).
PREQB.EXE
ANSI.SYS (Located in CONFIG.SYS)


RUNNING PREQB.EXE

Copy PREQB.EXE & PREQB.CFG to your subdirectory containing QB.
Run PREQB by typing:


PREQB (DON'T type ! It is carriage return/enter)

The following MENU will appear:


Main Menu

Configure File I/O
Set Compiler Options
Set Linker Options
Compile File
Link File
Compile & Link File
QB 4.0 Editor
Exit to dos



Use the ARROW keys to highlight the desire selection and press
.











Selecting "Configure File I/O" will display the following menu:



PREQB FILE SELECTION OPTIONS


BASIC COMPILER File Selections
1) BC Source : TEST
2) BC Object : TEST
3) BC List : NUL

LINKER File Selections
4) OBJ Modules : TEST
5) RUN File : TEST.EXE
6) LIST File : NUL
7) LIBRARIES :

QB Drive\Path

8) QB :


Enter Choice (0 to EXIT) :


******************************** NOTE ****************************************
* *
* You may use drive\path\filename when specifying filenames! *
* *
* YOU MUST USE TWO (2) BACK SLASH CHARACTERS IN THE SPECIFICATION! *
* *
* Example: *
* *
* 1) BC Source : D:\\QB\\GARRY *
* 2) BC Object : E:\\OBJ\\GARRY *
* 8) QB : D:\\QB *
* *
******************************** NOTE ****************************************



Choice 1 - Allows the user to specify the source filename to
be passed to the BC compiler. This filename must
be specified and should NOT contain an extension!
Notice that choices 2, 4, and 5 are automatically
updated when choice 1 is specified. An extension
of ".BAS" is assumed.

Choice 2 - When choice 1 is specified, the same name will be
specified for the BC object file. If the user
wishes to change the name, selecting 2 will allow
specifying another name. An extension of ".OBJ"
will be added by BC.













Choice 3 - The default LIST file is NUL. No list file will be
created. Selecting 3 will enable the user to
specify the list filename. An extension of ".LST"
will be added by BC.

*** NOTE ***

The source file MUST be in ASCII format for a list
file to be created!

Choice 4 - The object modules to LINK. If you wish to link
several object modules, you must seperate them with
spaces or +. (A+B+C+SOUND+DOCTOR).

Choice 5 - The run filename that will be created. Only
specify the filename. The ".EXE" extension will
be supplied by PREQB.

Choice 6 - The default link map file is NUL. No map file will
be created. Selecting 6 will enable the user to
specify the map filename. You can also specify
DOS device names. See page 213 in "LEARNING AND
USING MICROSOFT QUICKBAIC". An extension of ".MAP"
will be added by LINK.

Choice 7 - The user can specify additional libraries to be used
during the link process. Use spaces or + to list
more than one (16 Max).

Choice 8 - User specified Drive\Path to QB 4.0. See NOTE above.

Choice 0 - Exit to the main menu.


































Selecting main menu option 2 (SET COMPILER OPTIONS) will display
the following menu:



BC Options

/a ----> OFF (NOTE: -a is also valid here)
/ah ---> OFF -ah
/c ----> OFF -c:number ----> NOT SUPPORTED
/d ----> OFF -d
/e ----> OFF -e
/mbf --> OFF -mbf
/o ----> OFF -o
/r ----> OFF -r
/s ----> OFF -s
/v ----> OFF -v
/w ----> OFF -w
/x ----> OFF -x
/zd ---> OFF -zd
/zi ---> OFF -zi
EXIT


Simply use the arrow keys to highlight the desired switch
and press to toggle the state (ON/OFF). The current
setting is saved to disk (PREQB.CFG) when you exit the
program.






































Selecting main menu option 3 (SET LINKER OPTIONS) the following
menu will appear.



Link Options (NOTE: Must USE / as - is INVALID)

/HE ---> OFF
/PAU --> OFF
/I ----> OFF
/B ----> OFF
/Q ----> OFF
/E ----> OFF
/NOP --> OFF
/NOD --> OFF
/SE ---> OFF /SE:number ------> NOT SUPPORTED
/M ----> OFF /M:number ------> NOT SUPPORTED
/LI----> OFF
/PAC --> OFF /PAC:number -----> NOT SUPPORTED
/CO ---> OFF
/NOI --> OFF
/CP ---> OFF
/DO ---> OFF
/ST ---> OFF /ST:number ------> NOT SUPPORTED
/DS ---> OFF
/H ----> OFF
/NOG --> OFF
/O ----> OFF /O:number ------> NOT SUPPORTED
EXIT



Simply use the arrow keys to highlight the desired switch
and press to toggle the state (ON/OFF). The current
setting is saved to disk (PREQB.CFG) when you exit the
program. Some command options that can specify "number"
are not supported. They are annotated above.




Selecting main menu options 4, 5, and 6 should be obvious.
PREQB will COMPILE, LINK, or COMPILE and LINK the
specified files.


Selecting main menu option 7 will run the QB 4.0 Editor.
No provisions are made to set switches or provide the
desired edit filename at this time. The next version MIGHT
provide it.


Selecting main menu option 8 (Exit to DOS) will save all
switch setting and file I/O specifications in PREQB.CFG.












Proposed future enhancements:

1) Faster & Better displays (Windows).
2) Color Support (AUTOMATIC EGA, CGA, MDA selection).
3) Capability of creating ".BAT" files for COMPILE & LINK.
4) What do YOU recommend???????? Let me Know!!!!!!
5) Toggle sound OFF.




Now down to the nitty gritty. IF you USE this program, please
REGISTER. I spend literally hundreds of hours studying and
designing this program. I think it will prove to be very
useful for all Quick Basic programmers. I certainly HATE
to type in the LONG command lines each and every time I
run BC and LINK. I think Microsoft "DROPPED THE BALL"
in not providing the ability to specify the desired
switch settings from the integrated editor. Maybe their
next version of QB will incorporate the capabilities of
this program!


SEND $10.00 to register as a "USER". I will provide you
with the latest compiler version of PREQB.EXE. If I'm
in the process of upgrading the program, I'll drop you a
line and tell you when you can expect to receive it.


SEND $25.00 to receive a "FULL" registeration. This will
provide you with the "USER" registeration above PLUS the
documented source code. You can modify it as you like and
re-compile.


WARRANTY

PREQB is provided AS IS without any warranty, expressed
or implied. This includes the fitfulness to a particular
purpose or application. I claim NO RESPONSIBILITY for any
losses incurred by use of this program. If you have any
problems with PREQB feel free to write and describe the
situation.























LICENSE

You are free to use, copy, and distribute the PUBLICLY
AVAILABLE version of PREQB.EXE so long as:

1) No fee is charged for its use.

2) No fee is charged for copying or distribution
over the amount of $6.00 (plus any mailing
charges). This does not apply to computer
access charges.

3) It has not been modified in any way.

4) The following files may be freely distributed:

PREQB.EXE
PREQB.DOC
PREQB.CFG
PREQB.ARC (CONTAINS all three above)

The SOURCE CODE may not be freely distributed!!




This program written in TURBO C (Version 1.0).
Copyright BORLAND.



Written by:

GARRY G. KRAEMER
520 EL PORTAL
MERCED, CA 95340-0937



COPYRIGHT 1988, ALL RIGHTS RESERVED. NO WARRANTIES EXPRESSED or IMPLIED!

JAN 1988



 December 7, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)