March 6, 1993

I like QEDIT.  I have access to several other highly rated editors, but
every time I look at them all I really see is a fancier interface,
fancier windows and a ton more disk space.  I don't see any increased
functionality.

Included in this file are several files which help make QEDIT a powerful
editing tool for me.  The first of these is my QEDIT configuration file
(QCONFIG.GS) and my QEDIT help file (QHELP.GS).  I have completely
rewritten the QEDIT keyboard using the QEDIT configuration program, so
much so that I would not recommend just plugging in my configuration
file unless you've examined it thoroughly.  But, if you're new to QEDIT
and looking for something a little more pneumonic then the default
layout, mine might be a place to start.  The primary reasons for
including my configurations here are to provide a bit more of a
"package" than would otherwise be the case and because there are some
useful macros included in QCONFIG.GS.

Next included is my QQHELP file, QQHELP.GS.  I do this mostly to alert
QEDIT users to the existence of QQHELP.  This small program will act as
a front end loader for any program with a limited help system.  QQHELP
allows the user to write his or her own help file of up to 799 lines
which is then be hotkeyed into from an application.  It will search for
any key combination typed while in help mode.  QQHELP includes a default
help file for QEDIT as well as one for Turbo C and Turbo Assembler.
Highly recommended.  FreeWare, it is written by Dale Keller. Thanks.  It
can be found on Compuserv in Library 1 of the IBM Applications Forum
under the name QHELP1.ZIP.  By the way, my QQHELP file, in addition to
documenting my keyboard layout, contains a list of all PAL commands and
functions, with syntax.

Next is the external QEDIT macro file I use with PARADOX.  Both the
un-compiled, PDQ.qm, and the compiled, PDQ.mac, are here.  (Please note:
prior to compiling PDQ.mac I append a second text file, QEDPDQ.qm to
PDQ.qm.  This second file contains macros I use both in PDQ.mac and
QED.mac, my external QEDIT macro file.)  Also included is a batch file
QMACBAT.BAT which simplifies running QEDIT's macro complier.

The macros in PDQ.qm are inspired by the AMAC macros written and
collected by Tom Hogshead.  AMAC may also be found, among other places,
on Compuserv, same location as QQHELP, under the name AMAC44.ZIP.  (This
is a big, big file.)  Some of the macros in PDQ are probably ninety nine
percent AMAC macros, other are my own.  If they work, they're his, if
they don't they're mine.  Tom Hogshead provides the following release
with his AMAC collection in the file titled AMAC44.ME:

    "PERMISSION TO USE/COPY/MODIFY: Since the macros in AMACxx.ZIP
    contain macro ideas and contributions of others, I claim no
    Copyrights.  These macros are intended solely to help users of
    QEdit(R) from SemWare(R).  Permission is hereby granted to use,
    copy, and/or modify these macros with or without reference to
    this source.  I am not affiliated with SemWare."

Sounds good to me.  I'm not affiliated with anyone except my daughter
and my housemate.

Two of the more interesting macros I wrote, actually the ones that
inspired me to do this, work imperfectly.  They are Alt-6, which
processes a script file against a Keyword list and Control-6, which
creates a Proc list from a script file.  Some explanation:  I came from
a KnowledgeMan programming environment where the convention is to write
everything in lower case. So that's the way I started writing in
Paradox.  Besides, switching case for Keywords is a pain.  A hundred K
of code later I finally decided that Paradox did have a convention of
capitalizing Keywords and I may as well show some respect for the
convention.

Alt-6 will search a script for the PAL keywords contained in
PDXWORDS.TXT and replace them with the capitalized version of the
keyword found in PDXWORDS.TXT.  There are over 570 words in the list and
the macro has processed a 100k file in about than two minutes on my Dell
310.  The imperfection in the macro are that if you use a keyword in a
comment or message in the script, "if",  for instance, it will be
capitalized also.  This shortcomings aside, processing a 100k file in
less than two minutes is faster than I type so I consider the cleanup
small stuff.  Someday I'll write a macro for the cleanup.

The second macro, Control-6, will go through a script file and create a
separate file with an alphabetized list of all the Proc's in the .SC
file.  The shortcomings here are that it will omit Proc's with
parameters inside the () and it will include functions which end with
().  ...But after carefully checking my work this macro found a Proc
that ended with the word ...List() and the same Proc spelled ...Lists().
Several other similar errors were also found.  So until I fix those two
shortcomings I'll live with the inconvenience.  (The second one isn't
really a problem.  If you run Alt-6 first, the function will be fully
capitalized and stand out like a sore thumb (Where did that expression
come from anyway?  How many sore thumbs have you seen lately.).)

Here is a short description of the Macro's contained in QCONFIG.GS:

f9     Delete from cursor position to beginning of line
@f8    Change character case then advance one character
f10    Write a marked block to a user specified name
^f8    Change word case then advance one word
@0     Set printer page size to user defined length (Thank you Epson and HP)
@b     Open Block submenu
@e     Open Edit submenu
@f     Open File submenu
@j     Join two lines deleting unnecessary whitespace
@p     Open Print submenu
@q     Open Quit submenu
@r     Macro to create list of user specified files to edit
@s     Open Search submenu
@w     Open Window submenu
^d     Delete current word and whitespace to next word
^n     Cut a column block and fill the space with whitespace
^w     Mark the current word
^x     Mark to End of Line, Copies, Returns to Previous Position
^[     Finds next occurrence of word
^]     Find Previous occurrence of word
@-     Load PDQ.MAC file.  NOTE: ASSUMES LOCATION OF FILE
@=     Open Macro submenu
@grey* Load QED.MAC file.  NOTE: ASSUMES LOCATION OF FILE
^Tab   Tab current line right, cursor down to next line

Here is a short description of the Macro's contained in PDQ.QM:

@z     Go to top of file insert filename, date, time, name then save, quit
@;     Comment or un-Comment line or block with ';' in col 1
@[     Find the Proc of the word at the cursor
@'     Add a separator line of comment marks
@,     Position Comment at user specified column
@.     Reposition Comments to column 70
@/     Mark a Proc
@1     Capitalize word at cursor
@2     Capitalize first letter of each word in a block
^2     Un-capitalize first letter of each word in a block
@3     Un-capitalize word at cursor
@4     Format the current paragraph and move to the next
@5     Format paragraph to user selected left and right margins.
@6     Process a capitalized list of Pal keywords against a .SC file
^6     Create a Proc List from a script file
@7     Process a user specified Keyword list against any current file
@9     insert line numbers in a file

Gordon Shriver
