home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / qedit / dbxlmac.arc / DBXLMAC.DOC < prev    next >
Text File  |  1989-01-02  |  3KB  |  82 lines

  1. 01-02-1989
  2.  
  3.         Here are some macros that I wrote for Qedit/dBXL.  Qedit is a
  4. great editor that WILL run in dBXL.  I use these macros during program
  5. development.  They should work OK with Qedit 2.06C and 2.07
  6.  
  7.         You can leave me messages on dBase Conf--EasyLink/Qmail
  8.  
  9.         You must either: configure Qedit to load this program  -OR-
  10.                          call via Macro Read
  11.  
  12.         I load this with ^D like so:
  13.         [^d      MacroBegin MainMenu "MR" "C:\DBXL\DBXL.MAC" Return]
  14.  
  15.         With some editing, they will also work with dBase 3+ (delete the
  16. Window & Function macros).  Don't know dBase 4 language vis-a-vis
  17. windows and functions.
  18.  
  19.         They are:
  20.  
  21.         ALT+1:  Enters a DO CASE/ENDCASE block.  There are 3 Case
  22. statements presented.  Cursor returns to comment line so you can enter
  23. what it's all about.
  24.  
  25.         ALT+2:  Enters a DO WHILE/ENDDO block. Cursor returns to comment
  26. line.
  27.  
  28.         ALT+3:  Enters an IF/ELSE/ENDIF block. Cursor returns to comment
  29. line.
  30.  
  31.         ALT+4:  Enters a SAY/GET/READ block.  Cursor returns to space
  32. before GET so you can enter screen coordinates.  Includes the RANGE
  33. statement as well.
  34.  
  35.         ALT+5:  Enters a HEADER block that looks like this:
  36.  
  37.         *prg
  38.         *author
  39.         *created        Mon  01-02-1989
  40.         *modified
  41.         *purpose
  42.  
  43.         *--<eof >--
  44.  
  45.         The cursor will return to the `prg' line ready for you to enter
  46. the program name.  The current date should appear on the `created' line
  47. if your system date is set.  Qedit has capability to enter current date
  48. in files.  I modified my Qconfig.DAT file so ALT+D enters current date
  49. at cursor position.  I use that on `modified' line.  Position cursor at
  50. Row (Line) 1/Col 1 before entering. You can modify this macro to have it
  51. put your name in automatically.
  52.  
  53.         ALT+6 Enters an  INITIALIZATION BLOCK that looks like this:
  54.  
  55.         *initialization
  56.         CLEA ALL
  57.         CLOS DATA
  58.         SET SCOR OFF
  59.         SET TALK OFF
  60.  
  61.         Again, you can modify this.  Cursor is positioned two lines down
  62. and at Col 1 when done.
  63.  
  64.         ALT+7  &  ALT+8  Enter a FUNCTION  or  PROCEDURE block.  Cursor
  65. returns to comment line.
  66.  
  67.         ALT+9 Enters a WINDOW block.  Cursor returns to comment line.
  68. This block contains reference to empty WFIL (Windows File).  If you
  69. don't use them, delete line; or modify mac source file.  It also
  70. defaults to Window Area 1.
  71.  
  72.  
  73.         I hope that you find these macros useful.  I have sent them to
  74. Sammy Mitchell (author), along with some enhancement requests (like a
  75. macro pause; autoload macro files; vertically split window; and some
  76. other items).  He reponds well to this type of response.  D/L
  77. QEDIT207.ARC from your local board and use/register!  It's a very fast
  78. editor and you can reconfigure the keyboard to your liking (I did an
  79. almost complete re-write of the function keys).
  80.  
  81. Thomas Rednour
  82.