home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / LA / LA021.ZIP / QMAC.DOC < prev    next >
Text File  |  1990-02-27  |  29KB  |  787 lines

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