home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / qmac215.arj / QMAC.DOC < prev    next >
Text File  |  1991-09-04  |  30KB  |  814 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                  QMac  --  QEdit(R) Macro Program
  8.  
  9.        A translator utility to convert QEdit binary macro
  10.         files to and from a more easily used text format.
  11.  
  12.                          Revision: 2.15
  13.                        Date:  August, 1991
  14.  
  15.  
  16.          QEdit(R) and QMac are Copyright (C) 1985-1991 by
  17.        Applied Systems Technologies, Inc. (dba SemWare(R))
  18.                        All Rights Reserved
  19.  
  20.           QEdit and SemWare are registered trademarks of
  21.                 Applied Systems Technologies, Inc.
  22.  
  23.  
  24. DESCRIPTION
  25. -----------
  26. QMac is a translator of QEdit macro files.  It translates QEdit
  27. macros from the binary file in which QEdit saves macros to a
  28. text file which allows easy macro editing, and translates such
  29. text files back into a QEdit binary file.
  30.  
  31. This allows you to "record" a macro using QEdit; fine-tune it by
  32. editing the text representation of the macro; and then translate
  33. the edited version and reload it into QEdit for replay.
  34.  
  35. QMac allows appending to or overwriting existing files, making it
  36. easy to add new macros to existing files. QMac's text file format
  37. allows comments, permitting documentation of the macros within
  38. their "source file".
  39.  
  40.  
  41. TABLE OF CONTENTS
  42. -----------------
  43. Description ................................................   1
  44. Table Of Contents ..........................................   1
  45. What's New? ................................................   2
  46. License ....................................................   2
  47. Quick Start ................................................   2
  48. Running QMac ...............................................   4
  49. Text File Format on Input ..................................   6
  50. Text File Format on Output .................................   9
  51. Error Messages .............................................  11
  52. Acknowledgements & Contacts.................................  15
  53. Revision History ...........................................  15
  54.  
  55.  
  56.  
  57. QMac 2.15 Documentation                                   Page 2
  58.  
  59.  
  60. WHAT'S NEW?
  61. -----------
  62.      o  You now must include a pound sign "#" in front of an
  63.         ASCII code.  This is to allow for future extensions of
  64.         the macro language.
  65.  
  66.      o  Jump, JTrue and JFalse are now supported in QMac macros.
  67.         There may be up to 32 labels in each macro, each of which
  68.         can be the target of one or more jump instructions.  Only
  69.         the first 32 characters of a label are significant.
  70.  
  71.      o  Now handles the shortcut method of repeating a QEdit
  72.         command. ( See REVISION HISTORY )
  73.  
  74.      o  All new commands in QEdit Advanced 2.15, QEdit TSR 1.15,
  75.         and QEdit for OS/2 1.55 are now supported.
  76.  
  77.  
  78. LICENSE
  79. -------
  80. QMAC is FREE to licensed users of QEdit.
  81.  
  82. You may copy QMAC for purposes of evaluating it, and distribute
  83. QMAC to others for purposes of evaluating it for their use.  If
  84. you continue to use QMAC after evaluating it, you must register
  85. your copy of QEdit.  See your QEdit documentation for
  86. registration information.
  87.  
  88. If you distribute QMAC to others, you must distribute it AS-IS,
  89. with no files altered, added, or removed from the package.  You
  90. may not distribute QMAC in connection with any other product or
  91. service, or for any consideration or 'disk fee'.
  92.  
  93. Operators of electronic bulletin board systems (Sysops) are
  94. encouraged to post QMAC for downloading by their users, as long
  95. as the above conditions are met.
  96.  
  97.  
  98.  
  99.  
  100. QUICK START
  101. -----------
  102. Here is quick run-through of what you can do with QMac, including
  103. recording a macro, saving it to disk, and converting it with
  104. QMac.  The keystrokes mentioned below assume you are using the
  105. default QCONFIG.DAT supplied with QEdit; if you have re-installed
  106. your keyboard using QCONFIG, please modify as needed.
  107.  
  108.  
  109.  
  110. QMac 2.15 Documentation                                   Page 3
  111.  
  112.  
  113. Recording the macro:
  114.  
  115.      (1) From inside QEdit, select MacroRecord.  (Either hit
  116.      <Ctrl M> or select "Macro record" from the "Macro" menu in
  117.      the pull-down menu system, by pressing <Escape><M><M>).
  118.  
  119.      (2) At the prompt that says "Assign to what key:" press a
  120.      key to redefine.  We will use <Ctrl F10> (hold down the Ctrl
  121.      key and press the F10 key).
  122.  
  123.      (3) Press Find <Ctrl QF>, type "the" and press Return,
  124.      and type "IW" and press Return again.  (This is just an
  125.      example of what you can do, you could of course record
  126.      any legal series of QEdit keystrokes here.)
  127.  
  128.      (4) Select MacroRecord again to end the macro, as in
  129.      step (1) above.
  130.  
  131.      (5) Now, you can press <Ctrl F10> to search for the word
  132.      "the" in your text in just one step.
  133.  
  134. Saving the macro to disk:
  135.  
  136.      (6) Let's write this macro to disk in a file that QMac
  137.      can use.  Select MacroWrite from the pull down menus, by
  138.      pressing <Escape> then <M><W>.
  139.  
  140.      (7) Give it a filename of "FIND.MAC", and press Return to
  141.      save this macro on disk.
  142.  
  143. Converting the macro to text:
  144.  
  145.      (8) Press Dos <Alt F9> to send a command to MS-DOS.
  146.      Type:
  147.  
  148.           QMAC FIND.MAC FIND.TXT /A- /T
  149.  
  150.      to convert FIND.MAC to a text form in the file FIND.TXT.
  151.      Press Return.  (The /T selects text output).
  152.  
  153.      (9) Press EditFile <Alt E> to load this file into QEdit.
  154.      Type "FIND.TXT" to load the text file you just created
  155.      with QMac.  Press Return.  You should see something like
  156.      this on the screen:
  157.  
  158.           *
  159.           * Converted by QMAC from: C:\FIND.MAC
  160.           *
  161.           ^f10    MacroBegin Find "the" Return "IW" Return
  162.  
  163.  
  164. QMac 2.15 Documentation                                   Page 4
  165.  
  166.  
  167.      Which is, of course, a text representation of the keystrokes
  168.      you just recorded.
  169.  
  170.      (10) You can now edit your macro if need be.  Let's change
  171.      the word "the" to "and", and save the file back to disk by
  172.      pressing File <Ctrl KX>.
  173.  
  174. Converting the macro from text back to binary:
  175.  
  176.      (11) Press Dos <Alt F9> to send a another command to MS-
  177.      DOS.  This time, type:
  178.  
  179.           QMAC FIND.MAC FIND.TXT /A- /B
  180.  
  181.      to convert FIND.TXT back to its BINARY form, FIND.MAC.
  182.      (NOTE that we use /B to tell QMac to make the binary file
  183.      from the text file we just edited).  Press Return.
  184.  
  185. Reloading the edited macro into QEdit:
  186.  
  187.      (12) We can reload the modified macro file into QEdit so
  188.      we can use it.  Select MacroRead from the pull down
  189.      menus, by pressing <Escape> then <M><R>.
  190.  
  191.      (13) Specify the same filename as before, "FIND.MAC"
  192.      to reload the same macro file we've been using.  Press
  193.      Return.
  194.  
  195.      (14) Now when you press Ctrl-F10, QEdit will search for
  196.      the word "and" instead of "the".
  197.  
  198. As you can see, you can use QMac to convert macro files in
  199. both directions:  from a human-readable text form to the
  200. binary form that QEdit uses, and vice versa.
  201.  
  202.  
  203. RUNNING QMAC
  204. ------------
  205. To run QMac, at the DOS prompt type:
  206.  
  207.           QMAC ?
  208.  
  209. and press Enter.  You will see a summary of QMAC's operation
  210. that looks similar to the following:
  211.  
  212.  
  213.  
  214. QMac 2.15 Documentation                                   Page 5
  215.  
  216.  
  217. ----------------------------------------------------------------
  218. QMAC:  QEdit Macro Program II  v2.15  August 1991
  219. Copyright 1989-1991, SemWare.  All Rights Reserved.  QMAC ? for help.
  220.  
  221. QMAC macfile txtfile [ /B | /T ] /A   /C /U /M /Q  /Ixx /Wyy /Ezz
  222.  
  223. macfile QEdit binary macro file to process
  224. txtfile File containing text version of macros
  225. /B      Binary output:  Create macfile from textfile
  226. /T      Text output:    Create textfile from macfile
  227. /A      Append mode:    Append output to existing output file
  228.  
  229. /C+     Continue macros with "&";  /C-: Don't use "&" (default)
  230. /U+     Underscores in names;      /U-: Don't use underscores (default)
  231. /M+     Mixed case names in text output (default);  /M-: Use all lower case
  232. /Q+     Quote strings with double quote (default);  /Q-: Use single quotes
  233. /Ixx    Indent output text to column xx.        (Default=9)
  234. /Wyy    Wrap output text at column yy.          (Default=80)
  235. /Ezz    Errors to tolerate before quitting.     (Default=20)
  236. ----------------------------------------------------------------
  237.  
  238. All of the command line switches are optional, and are only
  239. necessary to control QMac's operation in special ways.  Do not
  240. type the [] characters.
  241.  
  242. The "macfile" parameter is the name (including directory, if
  243. needed) of a QEdit binary macro file, such as created by using
  244. MacroWrite from inside QEdit.
  245.  
  246. The "txtfile" parameter is the name of a text file that contains
  247. a human-readable representation of the same macros.
  248.  
  249. QMac will create whichever of the two files that did not exist
  250. already:  If the text macros already exist, it will convert them
  251. to binary.  Or if the binary macros already exist, it will
  252. convert them to text.
  253.  
  254. However, if both files exist, you must supply one of the optional
  255. switches to determine the direction.  The switch /B tells QMac to
  256. create a Binary file, while /T tells it to create a text file.
  257.  
  258. If the output file already exists, you must also supply a /A+ or
  259. /A- switch to tell QMac whether to "append" to the existing file.
  260. With /A+ it will append, /A- tells QMac to overwrite the existing
  261. file.
  262.  
  263. All of the other parameters besides /B, /T and /A, are completely
  264. optional, and all but /E only affect QMac's operation when it is
  265. converting from binary to text format.  See later sections for
  266. advice on using the other command line switches.
  267.  
  268.  
  269.  
  270. QMac 2.15 Documentation                                   Page 6
  271.  
  272.  
  273.  
  274. QMac will prompt for any required parameters which are not
  275. supplied at the DOS prompt.  This includes the file names, so you
  276. can just type:
  277.  
  278.           QMAC
  279.  
  280. by itself, and let the program prompt you for information, if you
  281. would rather not learn the various parameters.  Hitting RETURN
  282. all by itself at any QMac prompt will halt QMac.
  283.  
  284. QMac 2.x will also accept the "old style" command line syntax
  285. used in previous versions of QMac:
  286.  
  287.           QMAC macfile textfile om am
  288.  
  289. Where:
  290.             om  == output mode.  Either: T(ext) or B(inary)
  291.             am  == append mode.  Either: Y(es) or N(o)
  292.  
  293. This syntax corresponds exactly to the order in which QMac will
  294. prompt you for information if you don't supply it.
  295.  
  296. The advantage to using the new command line switches over the old
  297. syntax is that the command line switches may be entered in any
  298. order on the command line.  If a switch appears more than once,
  299. or if conflicting switches are specified, the rightmost switch
  300. takes precendence.
  301.  
  302. You can mix the old syntax with the new.  For instance, if you
  303. enter just  QMAC /A- at the command line, QMAC will prompt for
  304. input, but will not ask about the append mode.
  305.  
  306.  
  307. TEXT FILE FORMAT ON INPUT
  308. -------------------------
  309. The text format which QMac uses for macros is similar to that
  310. used within your QCONFIG.DAT file for QEdit:
  311.  
  312.      key       [ MacroBegin ]  [ Command... ]  [ & ]
  313.                [ "string" ]  [ xxx ]   [ * comment ]
  314.                ....
  315.  
  316. The "key" name must start in column 1 of a line, and must be a
  317. single key (no two-keys allowed).  It can either be the name of a
  318. key that QEdit understands (such as ^pgup for <Ctrl PgUp>); or
  319. the numeric scan code for a key.
  320.  
  321.  
  322. QMac 2.15 Documentation                                   Page 7
  323.  
  324.  
  325. By using the numeric scan code, you can assign macros to special
  326. keys that do not exist on your keyboard, but which are generated
  327. by a keyboard enhancer program.  You can also accomodate non-
  328. standard keyboards on some clone PC's that have unusual keys.
  329.  
  330. A macro can optionally begin with the command "MacroBegin", but
  331. this is not required in this version of QMac.
  332.  
  333. Following that, the macro can contain any number of commands
  334. which QEdit understands.  See your QEdit manual for details, but
  335. these are commands like "CursorRight", "EditFile", etc.
  336.  
  337. For instance a macro to make the cursor jump to the very first
  338. character of the current file would be:
  339.  
  340.           @f2     MacroBegin BegFile BegLine
  341.  
  342. If a macro contains only the command "UnknownCommand", then that
  343. key will have no action at all when in QEdit.  (You might use this
  344. to "disable" certain keys in QEdit at certain times.  In order to
  345. re-enable the keys, you would have to load another macro file
  346. with those keys defined, or re-start QEdit).
  347.  
  348. Mixed interchangeably with commands, macros can contain quoted
  349. strings of text.  These will be "typed" when you execute the
  350. macro, just as if you had typed them.  Quoted strings can be
  351. surrounded by either single or double quote characters.
  352.  
  353. If you need to embed a quote mark in a string, either use the
  354. other quote mark to surround the string, or double up the quote
  355. mark in the string:
  356.  
  357.           'This is a double quote: " within a string'
  358.              or
  359.           "This is a double quote: "" within a string"
  360.  
  361. would enter the following string in the macro:
  362.  
  363.           This is a double quote: " within a string
  364.  
  365. Quoted strings can be used to enter text in the file you are
  366. editing, or to answer prompts or menus presented by QEdit.
  367.  
  368.  
  369.  
  370. QMac 2.15 Documentation                                   Page 8
  371.  
  372.  
  373. For other ASCII characters that are difficult to enter, you can
  374. include the decimal code directly in the macro.  For instance, to
  375. include a literal form feed code in a macro, you could enter:
  376.  
  377.           "This is a form feed: " #12
  378.  
  379. and the 12 would be translated to an ASCII 12, or form feed, in
  380. the macro.  Do not put quotes around an ASCII code entered this
  381. way.  You can enter any ASCII code from 0 to 255 this way.  Be
  382. sure to include the pound sign.
  383.  
  384. Anywhere an asterisk ("*") appears on a line, outside of a
  385. quoted string, the rest of the line is treated as a "comment"
  386. and is ignored by QMac.  You can use this to include notes to
  387. yourself about how your macros work, or what they are supposed
  388. to do.  Comments are not included in the binary macro file
  389. that QEdit loads, so there is no penalty for including them in
  390. your text macro files.
  391.  
  392. A macro can continue onto more than one line, simply indent the
  393. second and subsequent lines of the macro one or more spaces.  The
  394. macro continues until QMac runs out of text or encounters another
  395. key at the beginning of a subsequent line.
  396.  
  397. If you include an ampersand ("&") as the very last character on a
  398. line, the next line will be included in the macro, even if it is
  399. not indented.
  400.  
  401. If you omit ampersands from your multi-line macros, you can more
  402. easily reformat them using QEdit.  Simply leave a blank line
  403. below each macro, and use the WrapPara <Alt B> command in QEdit
  404. to re-wrap macros to make them readable.  Remember, though, only
  405. the key name should appear in column 1, all other lines should be
  406. indented one or more spaces.  Please note that quoted strings
  407. containing spaces, or comments, may be wrapped incorrectly by
  408. WrapPara, so be careful.
  409.  
  410. QMac ignores any blank lines or lines that start with a comment
  411. ("*") mark, so you can freely intermix those within or between
  412. your macros as needed.
  413.  
  414. Lines in your text macro files can be up to 512 characters long.
  415.  
  416. A text macro file may contain an arbitrary number of key
  417. definitions.  QMac does not check the number or size of macros
  418. when creating binary macro files, because the limits on size and
  419. number may change from version to version of QEdit.  However, it
  420. does make a rudimentary check on total size to be sure that the
  421. current versions of QEdit will be able to load the macro file.
  422.  
  423.  
  424.  
  425. QMac 2.15 Documentation                                   Page 9
  426.  
  427.  
  428. You may include any number of blank or tab characters between
  429. commands in a macro, and capitalization is not important on
  430. input.  Also, QMac ignores the underscore ("_") character when
  431. used inside command names.  So, any of the following are
  432. equivalent:
  433.  
  434.      ^f2       macro_begin beg_line beg_file un_mark_block
  435.  
  436.      ^f2       MaCrO_BeGiN BeG_LiNe BeG_FiLe Un_MaRk_Block
  437.  
  438.      ^f2       MACROBEGIN    BEGLINE   BEGFILE   UNMARKBLOCK
  439.  
  440. You can use whichever form pleases you.  Note, however, that "_"
  441. may not be used inside key names, only inside command names.
  442. Underscores can be used inside label names for use with the jump
  443. commands, and they will be considered a significant part of the
  444. name.  So the following labels:
  445.  
  446.      My_First_Label:
  447.      MyFirstLabel:
  448.  
  449. are different labels.  Labels are not case sensitive.
  450.  
  451. Place a label before the command to which you wish to jump.  A
  452. label is distinguished by a trailing colon ":" which is
  453. mandatory.
  454.  
  455.  
  456. TEXT FILE FORMAT ON OUTPUT
  457. --------------------------
  458. When creating a text file from a binary macro file, QMac writes
  459. macros in the same format as described above.
  460.  
  461. Literal ASCII characters whose decimal codes are between 0 and 31
  462. inclusive (the "control codes") are written to the text macro in
  463. decimal form, preceeded by "#".  All other quoted characters are
  464. written as-is.
  465.  
  466. When interpreting macros containing jump commands, the original
  467. names of the labels for the jumps are no longer available.  So
  468. QMac will manufacture labels of the form "Labelxxx" where xxx is
  469. a sequential number starting at zero.
  470.  
  471. So, for instance, if you compiled the following macro to binary
  472. form with QMac:
  473.  
  474.      * Delete from the current line to the end of the file
  475.      ^f10    MacroBegin REPEATIT: DelLine JTrue REPEATIT
  476.  
  477.  
  478.  
  479. QMac 2.15 Documentation                                   Page 10
  480.  
  481.  
  482. And then converted it back to text, it would look something like
  483. this:
  484.  
  485.      ^f10    MacroBegin Label0: DelLine JTrue Label0:
  486.  
  487. QMac will generate a separate numbered label for every Jump,
  488. JTrue or JFalse command in the macro, even if the labels all
  489. exist in the same place.
  490.  
  491. QMac gives you several command-line switches to control the
  492. details of how it formats the text macros.  You can control the
  493. capitalization, use of underscores, indenting, word wrapping, and
  494. use of ampersands.
  495.  
  496. None of these controls have any effect on QMac when it is reading
  497. text macro file(s), only when it is writing them.
  498.  
  499. The /C switch controls the use of the "continuation" character,
  500. ampersand ("&").  By default, QMac does not write this character
  501. on the end of lines which are continued (since automatically
  502. continues macros on to lines that are indented).  However, if you
  503. prefer this syntax, you can specify /C+ on the command line to
  504. turn this on.  You may need to do this if you are sending text
  505. macro files to someone using an older version of QMac.
  506.  
  507. The /Q switch tells QMac what your preferred quote mark is for
  508. use around quoted strings.  The default is /Q+, which means use a
  509. double quote mark (""").  By specifying /Q-, you can force QMac
  510. to use single quote marks ("'") around quoted strings.
  511.  
  512. The /M switch tells QMac whether you wish to use "mixed case" in
  513. command names.  The default is /M+, which makes the QEdit command
  514. names appear as they do in the QEdit manual (example:
  515. ToggleEGA43).  Specify /M- to write all lower-case names.  Key
  516. names are always written in all lower case.
  517.  
  518. The /U switch tells QMac whether to include underscores ("_") in
  519. command names.  The default is /U-, which means no underscores
  520. are written.  When /U+ is specified, QMac will insert an
  521. underscore before each capitalized letter in a command (as they
  522. are capitalized in the QEdit manual).
  523.  
  524. Here is a summary of how commands will look with the different
  525. combinations of /M and /U:
  526.  
  527.      /M+  /U-  (default)    MacroBegin  BegLine  ToggleEGA43
  528.      /M+  /U+               Macro_Begin Beg_Line Toggle_EGA_43
  529.      /M-  /U-               macrobegin  begline  toggleega43
  530.      /M-  /U+               macro_begin beg_line toggle_ega_43
  531.  
  532.  
  533.  
  534. QMac 2.15 Documentation                                   Page 11
  535.  
  536.  
  537. Note that the third option (/M-, /U-) is the way the previous
  538. versions of QMac always wrote commands.
  539.  
  540. Again, it matters not which form you use, this is only a matter
  541. of personal preference.
  542.  
  543. The /I switch allows you to control the indenting of commands
  544. from the left margin.  Follow /I immediately by a decimal number
  545. to specify the column in which you wish the first command to
  546. appear.  The default is column 9.
  547.  
  548. The /W switch allows you to control where QMac wraps multiple-
  549. line macros at the margin.  Follow /W immediately by a decimal
  550. number.  The default is to wrap at column 80.
  551.  
  552.  
  553. ERROR MESSAGES
  554. --------------
  555. QMac can deal with many errors in a macro text file by skipping
  556. either a single command or word, or a whole macro.  It will
  557. display a warning message indicating this when it occurs, but
  558. will not stop.
  559.  
  560. However, if a large number of warning messages occur (by default,
  561. 20), QMac will give up processing on that file.  If you have some
  562. "troublesome" macro files that you need to process, you can set
  563. the number of warnings that QMac will tolerate with the /E
  564. command line switch.
  565.  
  566. Errors in the input text are always indicated by the row and
  567. column where the error occurred, so you can use this to locate
  568. the problem.  If you use QCP to run language compilers from
  569. QEdit, you can install QMac as one of the compilers to take
  570. advantage of this.  Use the line in QCP.DAT:
  571.  
  572.      .qm  "qmac $N.mac $F B N >$O"  "QMAC "
  573.  
  574. (This assumes that you always use the extension ".QM" on all text
  575. macro files).
  576.  
  577. Here is a summary of the possible error messages that QMac can
  578. issue.  QMac will continue after "Warning"'s but will stop after
  579. the first "Error".  The following messages are in approximately
  580. alphabetical order:
  581.  
  582.      Warning:  Duplicate definition for label <label_name>.
  583.  
  584. The label named "label_name" was defined in two places.  Remove
  585. one of the definitions, or change one of the labels names.  For
  586. now, QMac will use the first definition of the label.
  587.  
  588.  
  589.  
  590. QMac 2.15 Documentation                                   Page 12
  591.  
  592.  
  593.      Error:    Error reading input file
  594.      Error:    Error writing output file
  595.  
  596. A DOS error occured on reading or writing the file.  Check the
  597. file(s), or the disk(s) on which they reside, for problems.
  598.  
  599.      Warning:  <command_name> ignored inside macro
  600.  
  601. Certain commands, such as MacroBegin, MacroRecord, InputCh and
  602. Literal, are not legal inside of a macro (even though they are
  603. legal when assigned alone to a key).  QMac ignores these, but
  604. warns you that it has done so.
  605.  
  606.      Error:    Input file D:\PATH\FILENAME.EXT does not exist.
  607.  
  608. Based on the direction you specified with /B or /T, what QMac
  609. determined to be the input file could not be found.  Check the
  610. path echoed here for errors.
  611.  
  612.      Error:    Input file and output file are the same.
  613.  
  614. The two filenames point to the same file on disk, please change
  615. one.
  616.  
  617.      Error:    D:\PATH\FILENAME.EXT is not a valid QEdit
  618.                binary macro file.
  619.  
  620. When reading from or appending to an existing binary macro file,
  621. QMac checks it for errors.  If there are problems, the above
  622. message will occur.  It will also occur if you accidentally
  623. specify the two filenames backwards on the command line.  It may
  624. also occur if you are using an out-of-date version of QMac.  If
  625. the binary file is too large to load into QEdit, this message
  626. will also be issued.
  627.  
  628.      Warning:  Label <label_name> not found--jump ignored.
  629.  
  630. The label to which a jump instruction pointed could not be found.
  631. Check for spelling errors.  A do-nothing jump will be inserted in
  632. place of the erroneous jump, so the resulting macro may not
  633. operate correctly.
  634.  
  635.      Warning:  Label missing--jump ignored.
  636.  
  637. No label was found after the jump statement.  A do-nothing jump
  638. will be inserted in its place.
  639.  
  640.  
  641.  
  642. QMac 2.15 Documentation                                   Page 13
  643.  
  644.  
  645.      Warning:  Macros cannot be assigned to two-keys.  Macro skipped.
  646.  
  647. QMac skipped this macro because it was assigned to a two-key.
  648.  
  649.      Warning:  Macro contains an infinite loop.
  650.  
  651. QMac found a jump instruction that jumps to itself.  Since this
  652. would loop forever, it warns you about this condition.  NOTE:
  653. not all infinite loop conditions are caught by this, just obvious
  654. ones.
  655.  
  656.      Error:    Macro file would be too large for QEdit.
  657.      Error:    Macro too long!
  658.  
  659. The total size of binary macros to be written would be too large
  660. for QEdit to load into its internal macro buffer.  No binary
  661. macros will be written or appended.  Shorten your macros, or
  662. remove some, and try again.
  663.  
  664.      Error:    Neither file exists.
  665.  
  666. Neither one of the files on the command line can be found.
  667.  
  668.      Error:    No macros found in D:\PATH\FILENAME.EXT
  669.  
  670. None of the text in the input file fit the form of a QEdit macro
  671. definition.  You may get this message if QMac skipped macros in
  672. your file due to other errors.
  673.  
  674.      Error:    Not enough RAM to process macro file.
  675.      Error:    Not enough memory.
  676.  
  677. QMac could not load the binary macro file into memory for lack of
  678. space.  Exceedingly rare, as most macro files are very small.
  679.  
  680.      Warning:  Number ignored. (Put '#' in front of ASCII codes).
  681.  
  682. You must precede ASCII codes with '#' as of QMac 2.1.
  683.  
  684.      Warning:  Only first 32 characters are significant in labels.
  685.  
  686. QMac found a label it thought was longer than 32 characters.  It
  687. will take the first 32 characters of the name and use that as the
  688. label name.
  689.  
  690.      Error:    Output file D:\PATH\FILENAME.EXT is Read Only!
  691.  
  692. QMac found that the output file is designated Read Only by DOS,
  693. and thus cannot be written.  Use ATTRIB to change the Read Only
  694. status, or choose another filename.
  695.  
  696.  
  697.  
  698. QMac 2.15 Documentation                                   Page 14
  699.  
  700.  
  701.      Warning:  Possible truncation of line.
  702.  
  703. QMac found a line that might be longer than 512 characters.  This
  704. should never occur if you create all your files in QEdit.
  705.  
  706.      Warning:  Quoted string not closed at end of line.
  707.  
  708. QMac found an opening quote but no matching close on the line.
  709. It will close the string at the end of the line and continue.
  710.  
  711.      Error:    Too many errors.  Aborting!
  712.  
  713. After 20 warning messages, QMac will issue this message and halt.
  714. This is to avoid cases where hundreds of errors might be caused
  715. by a faulty input file.  The number of warnings QMac will
  716. tolerate can be controlled with the /E command line parameter.
  717.  
  718.      Warning:  Too many jumps--ignored.
  719.  
  720. There is a limit of 32 jumps per macro.  If this is exceeded,
  721. subsequent jumps are replaced with "do nothing" jumps.  Remove or
  722. consolidate some jumps and try again.
  723.  
  724.      Warning:  Too many labels--ignored.
  725.  
  726. There is a limit of 32 labels per macro.  This message may come
  727. up when processing a label, or when processing a jump.  Remove or
  728. consolidate some labels and try again.
  729.  
  730.      Warning:  Unknown command <command_name> skipped.
  731.  
  732. A command "command_name" was found in your macro, that is not
  733. recognized as a valid QEdit command.  Either it is misspelled or
  734. you are using an out-of-date version of QMac.
  735.  
  736.      Warning:  Unknown key <key_name> skipped.
  737.  
  738. A key "key_name" was found, that is not recognized as a valid
  739. QEdit key name.  Either it is misspelled, or you are using an
  740. out-of-date version of QMac.
  741.  
  742.      Error:    Unrecognized command switch 'x'
  743.  
  744. A switch "/x" on the command line was not recognized.  QMAC ? at
  745. the DOS prompt will print a summary of supported switches.
  746.  
  747.  
  748.  
  749. QMac 2.15 Documentation                                   Page 15
  750.  
  751.  
  752.      Warning:  Unsupported op-code <xxx> in binary macro input.
  753.  
  754. An unrecognized code was found in the binary macro file.  Either
  755. the macro file is damaged, or you are using an out-of-date
  756. version of QMAC.
  757.  
  758.      Error:    /X value not specified.
  759.  
  760. The numeric value following a /I, /W or /E switch must
  761. IMMEDIATELY follow the switch, with no spaces between.
  762.  
  763.  
  764. ACKNOWLEDGEMENTS & CONTACTS
  765. ---------------------------
  766. Special thanks to Karl Brendel, who wrote the original 1.x
  767. versions of QMac.
  768.  
  769. If you have any questions or suggestions, please contact:
  770.  
  771. SemWare
  772. 4343 Shallowford Road
  773. Suite C3A
  774. Marietta, GA  30062-5022
  775.  
  776. Voice Phone: (404) 641-9002   9 a.m to 5 p.m. E.T., Mon-Fri.
  777. BBS Phone:   (404) 641-8968,  1200/2400/9600 HST bps, <N81>.
  778.                               24 hours, 7 days per week
  779. FAX:         (404) 640-6213,  24 hours, 7 days per week.
  780. COMPUSERVE:  71520,67
  781.  
  782. REVISION HISTORY
  783. ----------------
  784. Version 2.08 - Nov-1989
  785.         Complete rewrite.  Faster.  Better error checking.  Key
  786.         names must be in column 1.  Ampersands made optional.
  787.         ASCII codes supported.  Comments made more flexible.  Now
  788.         accepts lines up to 512 characters long.  Many command
  789.         line options added.
  790.  
  791. Version 2.10 - Feb-1990
  792.         Now require "#" preceeding decimal ASCII codes.
  793.         Jump, JTrue, JFalse supported.
  794.         New commands in QEdit Advanced 2.10, QEdit TSR 1.10, and
  795.         QEdit for OS/2 1.50 supported.
  796.  
  797. Version 2.10 - June-1990
  798.         Now handles the shorter method of repeating a QEdit
  799.         command. For example:
  800.                           Cursorright 10
  801.                          Is equivalent to:
  802.                   Cursorright RepeatCmd "9" Return
  803.  
  804.         Both of these statements result in moving the cursor to
  805.         the right 10 times.
  806.  
  807. Version 2.15 - Aug-1991
  808.         New commands in QEdit Advanced 2.15, QEdit TSR 1.15, and
  809.         QEdit for OS/2 1.55 supported.
  810.  
  811.  
  812.                         * * *  end  * * *
  813.  
  814.