home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / box / box.doc next >
Encoding:
Text File  |  1980-01-01  |  52.4 KB  |  1,492 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                     BOX
  19.  
  20.                           A Program for Creating
  21.                          and Editing Screen Images
  22.  
  23.                                 version 1.3
  24.  
  25.             (C) Copyright 1986,1987,1988 by Nescatunga Software
  26.                             All Rights Reserved
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.           =======================================================
  69.           BOX USER GUIDE                                 PAGE 2
  70.           =======================================================
  71.  
  72.  
  73.           TABLE OF CONTENTS
  74.  
  75.  
  76.           License and Registration Information..................3
  77.           Introduction..........................................4
  78.           Making Backup Copies..................................5
  79.           Running BOX on a Floppy-Based System..................5
  80.           Installing BOX on a Hard Disk.........................5
  81.           Running BOX on a Hard Disk System.....................6
  82.           The Main Menu.........................................6
  83.             Draw Menu...........................................7
  84.             Load from Disk......................................8
  85.             Save to Disk........................................8
  86.             ASCII File Format...................................9
  87.             Memory File Format..................................9
  88.             Packed File Format.................................10
  89.             Path/Directory.....................................11
  90.             Clear Screen.......................................11
  91.             Exit Program.......................................11
  92.           The Draw Menu Functions..............................12
  93.             Type Labels........................................12
  94.               Insert Mode (Ins)................................12
  95.               Delete Line (F9).................................13
  96.               Insert Line (F10)................................13
  97.             Draw Boxes.........................................13
  98.             Move...............................................14
  99.             Color Change.......................................14
  100.             Block Functions....................................15
  101.             Select Box Drawing Style...........................16
  102.             Repeat.............................................16
  103.             Paint Areas........................................17
  104.             Erase..............................................18
  105.             On the Fly Changes.................................19
  106.              ASCII Table.......................................19
  107.           Turbo Pascal Programming Considerations..............20
  108.             Displaying ASCII Format Screens....................20
  109.             Displaying Memory Format Screens...................20
  110.             Displaying Packed Format Screens...................21
  111.             Using BOX Screens for Context Sensitive Help.......21
  112.           Capturing screens from other programs with GRAB......23
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.           =======================================================
  135.           BOX USER GUIDE                                 PAGE 3
  136.           =======================================================
  137.  
  138.  
  139.           LICENSE AND REGISTRATION
  140.  
  141.           Box is not a public domain program.  Rather it is being
  142.           distributed under the User Supported Software concept.
  143.           The program has been copyrighted by the author who
  144.           reserves all rights.  You are granted a limited license
  145.           to use and copy the program according to the terms
  146.           below.
  147.  
  148.           As an individual you may freely copy the BOX program
  149.           and its associated files for your evaluation and the
  150.           evaluation of others so long as no price or other
  151.           consideration is charged.
  152.  
  153.           Shareware distribution organizations may copy the BOX
  154.           diskette and share it with their members so long as no
  155.           price is charged other than a reasonable distribution
  156.           fee not to exceed the cost of a diskette and handling.
  157.  
  158.           The program, associated files and documentation must
  159.           always be distributed together.  You may not modify the
  160.           program or the documentation.  You may not reprint the
  161.           program manual in any way.
  162.  
  163.           Schools are granted permission by the author to copy
  164.           BOX as many times as needed so long as the registration
  165.           fee has been paid for each building the program will be
  166.           used in.
  167.  
  168.  
  169.           REGISTRATION FEE
  170.  
  171.           If you find BOX useful we ask that you register as a
  172.           BOX user by sending $20.00 to:
  173.               
  174.               Nescatunga Software
  175.               Box 5942
  176.               Katy, TX 77450
  177.  
  178.           Although BOX is relatively small and tightly focused in
  179.           its purpose, it represents many, many hours of work.
  180.           We can continue to enhance BOX and develop other
  181.           shareware products ONLY if you support the product and
  182.           the shareware concept.
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.           =======================================================
  201.           BOX USER GUIDE                                 PAGE 4
  202.           =======================================================
  203.  
  204.           INTRODUCTION
  205.  
  206.           Congratulations.  You now have at your service the
  207.           world's best screen designing tool.  With BOX you can
  208.           create in minutes the kind of flashy, professional-
  209.           looking data entry screens and menus that would take
  210.           hours with most editors.
  211.  
  212.           BOX is a screen editor.  You start with a blank screen
  213.           and, using special screen editing functions, type
  214.           headings and text, paint, shade or erase in any color
  215.           combination you desire.  BOX has special functions such
  216.           as REPEAT, PAINT and ASCII-Table-Selection which are
  217.           tailored specifically to screen creation and far exceed
  218.           what is available in other text editors.  Drawing
  219.           intricate intersecting boxes on the screen with the
  220.           special box-drawing characters is literally child's
  221.           play.
  222.  
  223.           After you have used BOX's screen editor to create a
  224.           colorful, snazzy screen you then save the image using
  225.           BOX's SAVE function.  SAVE creates a disk file of your
  226.           screen that you may load directly onto the screen from
  227.           a Pascal or C program.  Later if you have changes to
  228.           make to the screen it is a snap to LOAD it back into
  229.           BOX's editor and make the changes.
  230.  
  231.           Although BOX may sound like a graphics program, it is
  232.           not.  BOX uses regular ASCII characters so that any
  233.           BOX-created screen may be displayed on any color or
  234.           monochrome monitor.
  235.  
  236.           Applications for BOX include but are not limited to:
  237.  
  238.               Input screens for data base entry
  239.               Menus
  240.               Help Screens
  241.               Program Logo screens
  242.               Demonstration Screens
  243.               Program Prototyping
  244.               Computer "doodling"
  245.               
  246.           In addition to the BOX program the diskette contains
  247.           sample routines you can incorporate in your Turbo
  248.           Pascal programs.  When you use these routines, the
  249.           screens you create pop onto the monitor virtually
  250.           instantaneously.  These routines are not large or
  251.           complicated and could easily be translated into other
  252.           languages such as C.
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.           =======================================================
  267.           BOX USER GUIDE                                 PAGE 5
  268.           =======================================================
  269.  
  270.  
  271.           BOX will run on any IBM PC under DOS.  Although BOX
  272.           does use color to advantage (CGA or EGA adapters) it
  273.           will also run on monochrome systems as well.  We have
  274.           tested BOX on several IBM compatible PCs and have
  275.           discovered no problems.  Be aware however that BOX
  276.           incorporates several low-level functions which may not
  277.           work on some IBM near-compatibles.  Please let us know
  278.           the nature of any problems you discover on your system.
  279.  
  280.           MAKING BACKUP COPIES
  281.  
  282.           BOX is not copy protected so make as many back-up
  283.           copies as you think you will need.  To make back-up
  284.           copies or distribution copies for other users first
  285.           boot up your computer with DOS.  Place the BOX diskette
  286.           in the A drive and a blank, formatted diskette in the B
  287.           drive.  At the A prompt type the following command to
  288.           copy all files from the A diskette to the B diskette:
  289.  
  290.               A> COPY A:*.* B:
  291.  
  292.  
  293.           RUNNING BOX ON A FLOPPY-BASED SYSTEM
  294.  
  295.           To use BOX on a floppy disk system first boot up your
  296.           computer with DOS.  Put the BOX diskette in the A drive
  297.           and type the following command at the A prompt:
  298.  
  299.               A> BOX
  300.  
  301.           The BOX program should start by displaying a logo with
  302.           a large word BOX outlined on the screen.  Remember that
  303.           BOX looks for its logo file and its help files on the
  304.           same drive where it is started.  So starting the
  305.           program from another drive, as shown in the example
  306.           below is wrong.
  307.  
  308.               B> A:BOX    (Wrong)
  309.  
  310.  
  311.           After you have started BOX you may change the data
  312.           drive and/or directory where BOX stores and retrieves
  313.           its data files.
  314.  
  315.           INSTALLING BOX ON A HARD DISK
  316.  
  317.           To install BOX on a hard disk first make a directory to
  318.           hold the BOX program and associated files.  Then, with
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.           =======================================================
  333.           BOX USER GUIDE                                 PAGE 6
  334.           =======================================================
  335.  
  336.           the BOX diskette in the A drive, copy all BOX files to
  337.           the directory:
  338.  
  339.               C> MD\BOXX
  340.               C> CD\BOXX
  341.               C> COPY A:*.* C:
  342.  
  343.           The three commands above will create a new directory
  344.           named BOXX, change to that directory and copy all BOX
  345.           files from the BOX diskette to the BOXX directory on
  346.           the hard disk.  If you would prefer to leave the BOX
  347.           example programs on the disk then substitute the
  348.           following COPY statements for the one above:
  349.  
  350.               C> COPY A:BOX.EXE C:
  351.               C> COPY A:BOXHELP.* C:
  352.               C> COPY A:BOXLOGO. C:
  353.  
  354.  
  355.  
  356.           RUNNING BOX ON A HARD DISK SYSTEM
  357.  
  358.           To start the BOX program, issue the following two
  359.           commands to change to the BOXX directory and initiate
  360.           the program:
  361.  
  362.               C> CD\BOXX
  363.               C> BOX
  364.  
  365.           Remember that BOX must be started from the same
  366.           directory and drive as its associated files.  The drive
  367.           and directory where screen-image files are stored and
  368.           retrieved can be changed from BOX's Path/Directory
  369.           command.
  370.  
  371.  
  372.           THE MAIN MENU
  373.  
  374.           Even if you have limited experience with PC software
  375.           you will find BOX a snap to use.  BOX uses the
  376.           following conventions which are standard with many
  377.           popular software products:
  378.  
  379.               "Point and Shoot" Menus
  380.               "Escape" for Menu
  381.               "F1" for Help
  382.  
  383.           In fact, if you're in a hurry to try BOX, go ahead and
  384.           fire it up.  The program's user interface is intuitive
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.           =======================================================
  399.           BOX USER GUIDE                                 PAGE 7
  400.           =======================================================
  401.  
  402.           and you will likely be using all of BOX's features
  403.           (except for BOX's "on the fly" drawing changes which
  404.           are well hidden) without reading this manual.  However
  405.           to get the most from BOX it is a good idea to come back
  406.           and read this manual later to see if you may have
  407.           missed a trick or two.
  408.  
  409.           If you get stuck running BOX just hit F1 for help.
  410.           When you use BOX's help screens it is interesting to
  411.           note that they were created with BOX and are displayed
  412.           by Pascal routines similar to the routines shown later
  413.           in this guide.
  414.  
  415.           The Main Menu appears when you start BOX.  You will
  416.           return to it to SAVE and LOAD files, to change the data
  417.           PATH, to CLEAR the screen and to EXIT.
  418.  
  419.           To select the desired menu item move the reverse-video
  420.           cursor with the up and down arrow keys.  When you have
  421.           selected the action you want hit the enter key to
  422.           activate it.
  423.  
  424.           As an alternative you may select an item from the menu
  425.           by hitting the first letter of the description.  For
  426.           example just hit the letter S if you want to select
  427.           SAVE FILE from the main menu.  Hitting the letter S is
  428.           equivalent to placing the bar cursor on SAVE FILE and
  429.           hitting enter.  After you become familiar with the
  430.           commands you will find this approach more efficient
  431.           because it requires fewer keystrokes.
  432.  
  433.           Please note that the Esc key has special meaning under
  434.           BOX's menus.  Hitting Esc is the same as placing the
  435.           bar cursor on the last item and hitting enter.  Usually
  436.           this will cause an EXIT to a higher menu.  On the main
  437.           menu however, hitting the Esc key will Exit the BOX
  438.           program (after a safety prompt).
  439.  
  440.  
  441.           DRAW MENU
  442.  
  443.           If you select DRAW MENU from the main menu, another
  444.           menu will appear with a list of selections for drawing
  445.           and painting boxes on the screen.  From the DRAW menu
  446.           you may :
  447.  
  448.               Type labels and text on the screen
  449.               Draw boxes like an etch-a-sketch
  450.               Move around the screen without drawing
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.           =======================================================
  465.           BOX USER GUIDE                                 PAGE 8
  466.           =======================================================
  467.  
  468.               Change background and foreground colors
  469.               Choose between four box drawing styles
  470.               Repeat any character in any direction
  471.               Paint the boxes any color (including blink)
  472.               Erase lines drawn in error
  473.  
  474.  
  475.           These seven functions make it easy, even fun, to create
  476.           a screen image and draw and edit boxes and line shapes
  477.           using the PC's special box drawing characters.  I'll
  478.           return to the DRAW menu later and cover each of the
  479.           functions in detail.  But first let's cover the other
  480.           functions on the main menu.
  481.  
  482.           LOAD FROM DISK
  483.  
  484.           The Load function loads a screen image file you have
  485.           saved previously with the SAVE TO DISK function
  486.           described in the next section.  To load a file first
  487.           select the file format the original screen was saved
  488.           under; either ASCII or Memory (see description under
  489.           SAVE below).  BOX will then display a directory of
  490.           files on the current drive/path and prompt you for the
  491.           file name.  Type the file name you want to load and hit
  492.           enter.
  493.  
  494.           If the file you want to load is not on the current
  495.           drive/path you have two options.  First you may hit
  496.           escape to return to the main menu and there select
  497.           PATH/DIRECTORY to change the drive/path then return to
  498.           the LOAD screen to load the file.  Or you may simply
  499.           type the drive and directory prefix to the file name at
  500.           the bottom of the LOAD screen.
  501.  
  502.           You may LOAD standard ASCII files created with other
  503.           editors (including Turbo Pascal's) and word processors.
  504.           But BOX will LOAD only the left most 80 characters of
  505.           the first 25 lines.  Take care not to LOAD a file
  506.           longer than 25 lines then SAVE it with the same name.
  507.           BOX will overwrite the original file but save only the
  508.           first 25 lines.  Any additional lines will be lost.
  509.  
  510.  
  511.           SAVE TO DISK
  512.  
  513.           The save function writes a disk file containing the
  514.           screen image you have created and edited with BOX's
  515.           DRAW and TYPE functions.  To use SAVE you must first
  516.           select the file format and, when prompted, provide a
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.           =======================================================
  531.           BOX USER GUIDE                                 PAGE 9
  532.           =======================================================
  533.  
  534.           file name.  Please note that BOX remembers the last
  535.           file name you used so if you LOADED a file, BOX will
  536.           SAVE the modified screen under that same file name
  537.           unless you change it.
  538.  
  539.  
  540.           ASCII FILE FORMAT
  541.  
  542.           With BOX you may store a screen image in one of three
  543.           different formats; the ASCII format, the Memory format
  544.           and the Packed format.
  545.  
  546.           The ASCII format is the simpler and more standard of
  547.           the three because it saves the screen in a text format
  548.           that most word processors and editors (including Turbo
  549.           Pascal's editor) recognize.  ASCII files may therefore
  550.           be further edited and printed with many other editors
  551.           and word processors or included directly in you
  552.           program's source code.
  553.  
  554.           However saving a BOX screen image in the ASCII format
  555.           has some disadvantages.  First, ASCII files lose all of
  556.           the color attributes you may have drawn or painted on
  557.           the screen.  In addition ASCII screen images must be
  558.           displayed line-by-line with write statements resulting
  559.           in a slower display.
  560.  
  561.  
  562.           MEMORY FILE FORMAT
  563.  
  564.           Memory format files, because they are essentially a
  565.           snapshot "dump" of the video memory buffer, retain all
  566.           color attributes (including blink) and can be instantly
  567.           flashed on the screen using the code examples later in
  568.           this manual.  But unlike ASCII format files, memory
  569.           files will look like gibberish to most editors and word
  570.           processors.  Usually this will present no problem since
  571.           you can always edit memory format files with BOX.
  572.  
  573.           Many of the commonly available screen-capture programs
  574.           use the Memory format.  GRAB.COM, a program contained
  575.           on the BOX disk, is a TSR (memory resident) screen-
  576.           capture program which you can use to capture screen
  577.           from other programs.  When activated with ALT-PrtSc,
  578.           GRAB saves the current screen image to the current disk
  579.           drive in a Memory format.   There are more instructions
  580.           for using GRAB later in this documentation.
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.           =======================================================
  597.           BOX USER GUIDE                                 PAGE 10
  598.           =======================================================
  599.  
  600.           PACKED FILE FORMAT
  601.  
  602.           Except for one difference, Packed format files are
  603.           identical to Memory format files in that they retain
  604.           all color attributes and can be popped on the display
  605.           instantly.  The difference is that Packed format files
  606.           use a simple run-length-encoding algorithm to compress
  607.           the size of the file when it is written to the disk.
  608.           You can save considerable space by using Packed format
  609.           files if your screens have several blank lines or
  610.           bordered boxes.
  611.  
  612.           Memory format files always require 4000 bytes of
  613.           storage.  A typical Packed format file will require
  614.           around 2000 bytes.  You should be aware, however, that
  615.           in extreme cases (where every other character is
  616.           different for example) a Packed format file can
  617.           actually be larger than 4000 characters.  If you are
  618.           not sure which format to use, save your screen under
  619.           both formats with a different name then examine the
  620.           size of the files with a Directory command.
  621.  
  622.           Another consideration of using Packed format files is
  623.           that the Pascal screen loading procedure you must
  624.           include in your program, because it must decode and
  625.           expand the packed file, is more complicated than the
  626.           simple procedure for a loading Memory format file.  It
  627.           takes just a trifle more time to load a Packed file,
  628.           but not so much time as to make this a major
  629.           consideration.
  630.  
  631.           You must decide which of the three formats gives the
  632.           greatest advantage to your requirements.
  633.  
  634.           In saving BOX files you may use any file names you
  635.           wish.  Please note, however, that if you do not add
  636.           file extensions (a period followed by three characters
  637.           at the end of your file name) BOX will add them for you
  638.           using the following conventions:
  639.  
  640.               ASCII files     xxxxxxxx.ASC
  641.               Memory files    xxxxxxxx.MEM
  642.               Packed files    xxxxxxxx.PAK
  643.  
  644.           If you choose to use the conventions above for your
  645.           file names, BOX will highlight any file names that
  646.           match the format you are using when it displays the
  647.           directory of files during LOADing.
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.           =======================================================
  663.           BOX USER GUIDE                                 PAGE 11
  664.           =======================================================
  665.  
  666.           PATH/DIRECTORY
  667.  
  668.           With the PATH/DIRECTORY facility, which is available
  669.           from the Main menu, you can see the current path and
  670.           change the drive/path where BOX will store or retrieve
  671.           screen-image files.  BOX will display a directory of
  672.           files on the selected drive/path when you enter the new
  673.           drive/path.  After you have typed in the drive/path
  674.           where you want BOX files to be stored hit escape to set
  675.           that path and return to the main menu.
  676.  
  677.  
  678.           CLEAR SCREEN
  679.  
  680.           The CLEAR SCREEN choice on the main menu brings up a
  681.           menu of CLEAR functions.
  682.  
  683.              CLEAR
  684.  
  685.              The CLEAR function erases all characters on the
  686.              screen and sets the colors to those chosen.  Use it
  687.              when you have just saved a screen image and want to
  688.              start with a fresh screen on another image or when
  689.              you want to change the background from the default
  690.              blue.
  691.  
  692.              COLOR CHANGE
  693.  
  694.              This choice on the CLEAR menu brings up a color
  695.              smorgasbord for selecting the colors you wish to
  696.              have on the cleared screen.
  697.  
  698.              FILL
  699.  
  700.              Select FILL to fill the entire screen with a
  701.              character.  An ASCII character selector box will pop
  702.              up to allow you to select any of the 255 ASCII
  703.              characters.  With these characters you can create
  704.              many interesting patterns.
  705.  
  706.              PAINT SCREEN
  707.  
  708.              PAINT changes the background and foreground colors
  709.              on the screen but does not erase the characters.
  710.  
  711.  
  712.           X EXIT
  713.  
  714.           Select EXIT on the main menu to leave the BOX program.
  715.           If your last step was to SAVE a file, BOX will return
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.           =======================================================
  729.           BOX USER GUIDE                                 PAGE 12
  730.           =======================================================
  731.  
  732.           control to DOS immediately.  However if your last
  733.           operation was not a SAVE, BOX will ask you if you
  734.           really want to EXIT.
  735.  
  736.  
  737.           THE DRAW MENU FUNCTIONS
  738.  
  739.           Now let's return to the DRAW MENU and examine each of
  740.           its functions in more detail.  When you select DRAW
  741.           from the main menu, BOX will display a list of
  742.           selections for drawing and painting boxes on the screen
  743.           including:
  744.  
  745.               Type labels and text on the screen
  746.               Draw boxes like an etch-a-sketch
  747.               Move the cursor around the screen without drawing
  748.               Change background and foreground colors
  749.                 Move or paint blocks on the screen
  750.               Select from among four box drawing styles
  751.               Repeat any character in any direction
  752.               Paint the boxes any color (including blink)
  753.               Erase lines drawn in error
  754.  
  755.  
  756.           Let's cover each of these functions in order:
  757.  
  758.           TYPE LABELS
  759.  
  760.           TYPE, which is the first function on the DRAW Menu, is
  761.           a simple, full-screen text editor you can use to type
  762.           text on a screen image.  After you have selected TYPE
  763.           simply locate the cursor where you want it on the
  764.           screen and type whatever text you need.  Since BOX
  765.           works with only one screen at a time the limits of the
  766.           typing area is 80 characters wide by 25 lines long -- a
  767.           full screen in 80 character text mode.
  768.  
  769.  
  770.           INSERT MODE
  771.  
  772.           In the TYPE function you may toggle the insert mode on
  773.           and off by hitting the Ins. key.  A large block cursor
  774.           indicates that Insert is on, a small line cursor
  775.           indicates that Insert is off.  If Insert is on, all
  776.           characters to the right of the cursor will be pushed to
  777.           the right when you type.  BOX does not word wrap nor
  778.           does it save the characters that you push off the
  779.           screen.  Please remember that if you have the insert
  780.           mode on and you hit the enter key you will break the
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.           =======================================================
  795.           BOX USER GUIDE                                 PAGE 13
  796.           =======================================================
  797.  
  798.           line at the cursor location and carry the tail of the
  799.           line to a new line below.  If insert mode is off the
  800.           cursor will jump to the next line but it will not carry
  801.           the tail of the line.
  802.  
  803.  
  804.           DELETE LINE => F9
  805.  
  806.           To delete a line, place the cursor on the line you wish
  807.           to delete and hit F9.  All lines below the deleted line
  808.           are brought up one line and a blank line will be
  809.           inserted at the bottom of the screen.  The blank line
  810.           will be in the current color scheme.
  811.  
  812.  
  813.           INSERT LINE => F10
  814.  
  815.           To insert a blank line, place the cursor just below the
  816.           location you want the line inserted and hit F10.  All
  817.           lines below the inserted line will be pushed down one
  818.           and the last line of the screen will be lost.
  819.  
  820.  
  821.           DRAW BOXES
  822.  
  823.           Select DRAW BOXES from the DRAW MENU to draw lines and
  824.           boxes using the arrow keys on the cursor control pad.
  825.           Boxes will be drawn with the box drawing characters
  826.           which are part of the extended ASCII character set
  827.           which have codes between 179 and 218.  There are 40
  828.           different characters with which you can draw single and
  829.           double-line boxes.  If you have ever designed a screen
  830.           by entering the characters one at a time you know how
  831.           tedious and time consuming it is.  BOX allows you to
  832.           throw away the list of ASCII codes and draw precise,
  833.           colorful boxes with one finger.
  834.  
  835.           Think of DRAW as lowering a drawing pen onto the
  836.           drawing pad (the screen).  Lines will follow wherever
  837.           you direct the cursor--up, down, left or right.  DRAW
  838.           will use whatever colors and box style you have
  839.           previously selected.  So you may wish to select COLOR
  840.           CHANGE and BOX CHANGE from the DRAW MENU before you
  841.           select DRAW.  The entire screen of 80 characters wide
  842.           by 25 lines high is available to you.
  843.  
  844.           One of the most interesting routines in the BOX program
  845.           examines the screen around the line you are drawing to
  846.           determine if a special intersection character is needed
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.           =======================================================
  861.           BOX USER GUIDE                                 PAGE 14
  862.           =======================================================
  863.  
  864.           to patch the box you are currently drawing with other
  865.           boxes you may have previously drawn.  There are 40 box
  866.           drawing characters to cover nearly every conceivable
  867.           intersection combination.  However you should be
  868.           advised that there are some intersections you can
  869.           create for which there is no available ASCII character.
  870.           We have tested BOX thoroughly and believe that BOX will
  871.           find the proper intersection character if one exists.
  872.  
  873.  
  874.           MOVE
  875.  
  876.           MOVE is the opposite of DRAW.  MOVE lifts the box-
  877.           drawing pen so that you may move the cursor with the
  878.           arrow keys to a new location without trailing a line
  879.           behind you.  When you have moved the cursor to the new
  880.           location, select DRAW to start drawing again. You may
  881.           also move the cursor without drawing if you select the
  882.           TYPE function from the menu.
  883.  
  884.  
  885.           COLOR CHANGE
  886.  
  887.           When you select COLOR CHANGE from the DRAW MENU a color
  888.           selection smorgasbord will appear on the screen.  To
  889.           select the colors you want simply use the up and down
  890.           arrow keys to select Foreground or Background and the
  891.           left and right arrow keys to select the color.  A small
  892.           arrow will move over the chart showing you which color
  893.           you have picked and a sample of the colors will appear
  894.           to the right of the display.
  895.  
  896.           Note that you may select from sixteen foreground and
  897.           sixteen background colors.  The second eight background
  898.           colors are not really colors but cause the foreground
  899.           characters to blink by turning on the blink bit in the
  900.           color attribute byte.  A little bit of blink, like hot
  901.           pepper sauce, goes a long way.
  902.  
  903.           The color combination you select will stay in effect
  904.           for the rest of the BOX session or until you change it
  905.           regardless of whether you are typing text, drawing
  906.           boxes or painting.  If you want the background of the
  907.           screen a different color than it is you may return to
  908.           the main menu and select CLEAR or you may use the PAINT
  909.           function from the DRAW menu.
  910.  
  911.           Be sure you don't select the same background and
  912.           foreground colors.  If you do everything you draw or
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.           =======================================================
  927.           BOX USER GUIDE                                 PAGE 15
  928.           =======================================================
  929.  
  930.           type will be invisible.  If this happens hit Esc. to
  931.           start again.
  932.  
  933.  
  934.           BLOCK FUNCTIONS
  935.  
  936.           When you select BLOCK from the Draw menu, your first
  937.           step is to identify the portion of the screen, or the
  938.           block, you want to work with.  Do this by moving the
  939.           cursor to one corner of the block and hitting enter,
  940.           then moving the cursor to the opposite corner of the
  941.           block and hitting enter again.  After you anchor the
  942.           cursor on the first corner the program will highlight
  943.           the block area by displaying it in reverse video.
  944.  
  945.           After you have identified the block size, the program
  946.           will display a submenu of functions.
  947.  
  948.              MOVE BLOCK
  949.  
  950.              If you select MOVE BLOCK from the BLOCK menu simply
  951.              use the cursor keys to move the identified block
  952.              around the screen until you have placed it where you
  953.              want it.  Hit enter to position the block.  The area
  954.              where the original block was located is blanked out.
  955.  
  956.              CLONE BLOCK
  957.  
  958.              CLONE BLOCK is the same as MOVE BLOCK except that
  959.              the original block is not blanked out but is left
  960.              intact.  So if you have created a fancy small
  961.              pattern in one area of the screen that you want to
  962.              repeat at other locations, use CLONE to move it.
  963.  
  964.              PAINT BLOCK
  965.  
  966.              PAINT allows you to change the background and
  967.              foreground colors of the selected block area of the
  968.              screen.  Other PAINT functions are semi-automatic
  969.              and operate on the interior of box lines, for
  970.              example.  But BLOCK PAINT allows great control over
  971.              the PAINTing process.
  972.  
  973.              BLANK BLOCK
  974.  
  975.              This function blanks the selected area of the
  976.              screen.
  977.  
  978.              DEFINE NEXT BLOCK
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.           =======================================================
  993.           BOX USER GUIDE                                 PAGE 16
  994.           =======================================================
  995.  
  996.  
  997.              Use DEFINE to select another area of the screen for
  998.              block operations.
  999.  
  1000.  
  1001.           SELECT BOX-DRAWING STYLE
  1002.  
  1003.           Returning now to functions available from the main DRAW
  1004.           menu, the SELECT BOX TYPE facility allows you to select
  1005.           from among  double line, single line or combination
  1006.           single/double line boxes.  Simply pick the one you
  1007.           like.  The box type you select will stay in effect
  1008.           until you change it even if you are not drawing.  One
  1009.           small quirk in using the SELECT menu is that if you hit
  1010.           Esc while in the menu, you will have selected box type
  1011.           4, the last on the list.  So use the numbers to select
  1012.           the type you want or put the cursor on the box type and
  1013.           hit enter.
  1014.  
  1015.  
  1016.           REPEAT
  1017.  
  1018.           The REPEAT function has two parts.  First REPEAT will
  1019.           allow you to enter the character you want to repeat.
  1020.           Then REPEAT will pause while you position the cursor
  1021.           anywhere on the screen.  When you have positioned the
  1022.           cursor where you want it, hit enter to trigger the
  1023.           REPEAT function.  You may now "draw" the repeat
  1024.           character any direction using the arrow keys.  REPEAT
  1025.           works just like DRAW except you get to select any of
  1026.           the PC's 255 characters to draw with.
  1027.  
  1028.           You have the option of entering the repeat character
  1029.           from the keyboard or selecting the character from an
  1030.           ASCII Table.  If the character you want to repeat is on
  1031.           the keyboard it is more efficient to enter it from
  1032.           there.  But if the character you want is not on the
  1033.           keyboard you may select the character from the ASCII
  1034.           Table.
  1035.  
  1036.           When you select the ASCII Table option a window will
  1037.           pop up on the right side of the screen which contains
  1038.           64 of the PC's 255 characters.  A small box will
  1039.           surround the currently selected character.  Move the
  1040.           small box with the arrow keys to select the character
  1041.           you want to repeat.  Use the Up and Down arrow keys and
  1042.           PageDown and PageUp keys to scroll the ASCII table.
  1043.           Hit enter to select a character or escape to abort the
  1044.           REPEAT function.
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.           =======================================================
  1059.           BOX USER GUIDE                                 PAGE 17
  1060.           =======================================================
  1061.  
  1062.  
  1063.           Note that the character you have selected from the
  1064.           ASCII Table stays at-the-ready for later Repeat-Drawing
  1065.           if you need it.  Just hit ALT-R to invoke the on-the-
  1066.           fly repeat function and you can "draw" the last-
  1067.           selected ASCII character in any direction.  The ASCII
  1068.           Table can also be brought up On-the-fly by hitting ALT-
  1069.           A.
  1070.  
  1071.  
  1072.           PAINT AREAS
  1073.  
  1074.           The PAINT function contains several choices for
  1075.           painting parts or all of the screen different colors.
  1076.  
  1077.              COLOR
  1078.  
  1079.              Before selecting any of the paint functions it is
  1080.              necessary to choose the background and foreground
  1081.              colors you want the painted area to be.  The COLOR
  1082.              smorgasbord allows the color selection.
  1083.  
  1084.              INTERIOR PAINT
  1085.  
  1086.              This function paints the interior of boxes the
  1087.              selected color but stops painting on the box
  1088.              boundary.  To use the function move the cursor
  1089.              inside the box to be painted and hit enter.  PAINT
  1090.              will start from the cursor position painting in
  1091.              every direction until it hits the box lines.  Make
  1092.              sure there are no gaps in the box because PAINT will
  1093.              leak through the gap and paint the entire screen.
  1094.  
  1095.              LINE PAINT
  1096.  
  1097.              This function will follow any boxes or lines you
  1098.              have drawn and paint them the color you have
  1099.              selected.  Put the cursor on the line you want to
  1100.              paint and hit enter.
  1101.  
  1102.              SCREEN PAINT
  1103.  
  1104.              Choose this function to change the colors of the
  1105.              entire screen.
  1106.  
  1107.              FILL
  1108.  
  1109.              The FILL function fills the area selected with a
  1110.              character of your choice.  When you select the
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.           =======================================================
  1125.           BOX USER GUIDE                                 PAGE 18
  1126.           =======================================================
  1127.  
  1128.              function an ASCII selector table will pop up for
  1129.              character selection and you will be prompted to move
  1130.              the cursor inside the area to be filled.  FILL will
  1131.              not leak into or out of boxes.  The function is
  1132.              often used to create attractive background patterns
  1133.              around windows on the screen.
  1134.  
  1135.           These PAINT functions sounds complicated but play with
  1136.           them a while and you will get the hang of them right
  1137.           away.  Just remember that if you select the same
  1138.           background color that you have in the box to start
  1139.           with, PAINT will appear as if it is not working if
  1140.           there are no typed labels in the box.
  1141.  
  1142.           With the exception of the FILL function, the PAINT
  1143.           functions do not destroy characters you have typed on
  1144.           the screen.  They simply change the color attributes.
  1145.           This fact can be used to advantage if you want to leave
  1146.           the background color the same but change the
  1147.           foreground.  For example if you have white characters
  1148.           on a blue background and you wish to have yellow
  1149.           characters on the same blue background then simply
  1150.           select yellow on blue and paint the area you want to
  1151.           change.
  1152.  
  1153.           The PAINT functions test to see if they have completed
  1154.           their tasks by looking at the colors all around where
  1155.           they starts.  If the colors there are the desired PAINT
  1156.           colors the function thinks it is done and does no
  1157.           further processing.  So be sure to move the cursor into
  1158.           an area that is not the paint color to start.
  1159.  
  1160.           If you have several areas to paint the same color move
  1161.           the cursor into the next area and hit ALT-P to invoke
  1162.           the on-the-fly PAINT function.
  1163.  
  1164.  
  1165.           ERASE
  1166.  
  1167.           While you are drawing, sooner or later you will turn a
  1168.           corner too soon or make some other mistake.  To correct
  1169.           these mistakes, select ERASE.  In essence, ERASE writes
  1170.           a blank character wherever the cursor is directed.
  1171.           ERASE does not restore the background color to what it
  1172.           was before.  To accomplish this you must make a color
  1173.           change before you start ERASING.
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.           =======================================================
  1191.           BOX USER GUIDE                                 PAGE 19
  1192.           =======================================================
  1193.  
  1194.           ON THE FLY CHANGES
  1195.  
  1196.           After you become familiar with the DRAW MENU functions
  1197.           and memorize the initials -- D for DRAW, M for MOVE and
  1198.           so on -- you will want to take advantage of the ON THE
  1199.           FLY CHANGES.  This facility allows you to change
  1200.           drawing functions on-the-fly while you are drawing
  1201.           simply by pressing a key.  When you use this feature
  1202.           there is no need to return to the menu and select
  1203.           another function.
  1204.  
  1205.           For example while you are drawing a box you can hit
  1206.           ALT-M and BOX immediately switches you into the MOVE
  1207.           function.  You may then move the cursor a few spaces,
  1208.           hit ALT-D and you're drawing a new box.  ON-THE-FLY
  1209.           functions are quick and powerful but they happen
  1210.           without fanfare so you will have to remember what you
  1211.           are doing.
  1212.  
  1213.           ON THE FLY functions duplicate those available from the
  1214.           menu except for PAINT and REPEAT which work slightly
  1215.           differently.  In their ON-THE-FLY forms PAINT and
  1216.           REPEAT are toggle functions you may turn on and off.
  1217.           For example if you are DRAWING you could hit ALT-M for
  1218.           MOVE, move the cursor inside a box and then hit ALT-P
  1219.           to toggle PAINT on and PAINT the box.  This procedure
  1220.           varies from the three-part PAINT and REPEAT sequence
  1221.           the program steps you through when these functions are
  1222.           selected from the menu.
  1223.  
  1224.               ON-THE-FLY FUNCTIONS AVAILABLE
  1225.  
  1226.                   ALT-T = TYPE LABELS
  1227.                   ALT-D = DRAW BOXES
  1228.                   ALT-M = MOVE
  1229.                   ALT-C = COLOR CHANGE
  1230.                   ALT-B = BLOCK FUNCTIONS
  1231.                   ALT-S = SELECT BOX TYPE
  1232.                   ALT-E = ERASE
  1233.                   ALT-A = ASCII TABLE
  1234.                   
  1235.                   ALT-R = REPEAT (TOGGLE ONLY)
  1236.                   ALT-P = PAINT  (TOGGLE ONLY)
  1237.  
  1238.  
  1239.  
  1240.           ASCII TABLE (ALT-A)
  1241.  
  1242.           One unique on-the-fly function that is not directly
  1243.           available from the menu (it is available indirectly
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.           =======================================================
  1257.           BOX USER GUIDE                                 PAGE 20
  1258.           =======================================================
  1259.  
  1260.           from the REPEAT function) is the ASCII Table.  If you
  1261.           want to use one of the upper or lower ASCII characters
  1262.           which cannot be entered from the keyboard on the
  1263.           screen, simply hit ALT-A.  An ASCII Table will pop up
  1264.           on the right side of the screen with a selector box
  1265.           that you move with the arrow keys.  Move the selector
  1266.           box over the character you want, scrolling with the
  1267.           arrow keys or PageDown or PageUp if necessary, then hit
  1268.           enter to select.  The ASCII table will disappear and
  1269.           the character you selected will be printed on the
  1270.           screen at the last cursor position.
  1271.  
  1272.           The ASCII character you last selected from the ASCII
  1273.           table will stay at-the-ready to be used in the REPEAT
  1274.           function.  To select the on-the-fly REPEAT function hit
  1275.           ALT-R.  This combination of ASCII Table selection and
  1276.           REPEAT is a very powerful facility to create
  1277.           interesting and unusual effects with some of the
  1278.           "strange" ASCII characters.  Some amazing displays can
  1279.           be created using the block and shading characters in
  1280.           unusual color combinations.  The possibilities for
  1281.           attention-getting program logo screens are endless.
  1282.  
  1283.  
  1284.           TURBO PASCAL PROGRAMMING CONSIDERATIONS
  1285.  
  1286.           Creating screen images with BOX is easy and fun.  But
  1287.           the real payoff comes when you incorporate your
  1288.           masterpieces in a program.  Displaying and using BOX-
  1289.           created screens in your Turbo Pascal programs is easy
  1290.           with the example routines contained in file
  1291.           EXAMPLE1.PAS on your disk and described below.  Please
  1292.           note that all example programs have been converted to
  1293.           Turbo Pascal 4.0 but, since only a few changes were
  1294.           required, may be converted back to 3.0 easily.
  1295.  
  1296.  
  1297.           DISPLAYING ASCII FORMAT SCREENS
  1298.  
  1299.           To display ASCII format screens created with the BOX
  1300.           editor, add a procedure to your program which reads the
  1301.           file produced by BOX and displays it line by line.  The
  1302.           example routine LOAD_ASCII contained on your BOX
  1303.           diskette in file FILES.PAS will give you the idea.
  1304.           Copy and use the procedure in your own programs.
  1305.  
  1306.           DISPLAYING MEMORY FORMAT SCREENS
  1307.  
  1308.           To display a screen you have saved under the memory
  1309.           format you must read in the BOX-created file and move
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.           =======================================================
  1323.           BOX USER GUIDE                                 PAGE 21
  1324.           =======================================================
  1325.  
  1326.           the contents of the file directly into the Video
  1327.           display memory buffer.  This buffer is located at
  1328.           memory address B800 (hex) for the color (CGA or EGA)
  1329.           adapters and at memory address B000 (hex) for the
  1330.           monochrome adapter.
  1331.  
  1332.           If you're not particularly interested in the
  1333.           technicalities of the video display, don't worry.  Just
  1334.           incorporate the procedures CHECKCOLOR and LOAD_MEM from
  1335.           the file EXAMPLE1.PAS in your programs to read in a
  1336.           memory format file and display it on the screen.  The
  1337.           screen should look just as you created it with BOX --
  1338.           boxes, colors, blink and all.  After you have displayed
  1339.           the screen you are free to write on it with normal
  1340.           Pascal Write statements.
  1341.  
  1342.           DISPLAYING PACKED FORMAT SCREENS
  1343.  
  1344.           Displaying a Packed format screen is similar to
  1345.           displaying a Memory format screen except the packed
  1346.           screen file must be unpacked before it can be
  1347.           displayed.  A Packed format file uses a simple run
  1348.           length encoding structure.  The idea is that if there
  1349.           are 20 blanks in a row on the screen, the Packed format
  1350.           just saves the blank character once along with the run
  1351.           length of 20.
  1352.  
  1353.           After the Packed format file has been unpacked it looks
  1354.           just like a Memory format file and may then be moved
  1355.           directly into the video memory buffer as described
  1356.           above.  The example procedure LOAD_PAK contained on
  1357.           your disk in file EXAMPLE1.PAS will show you how.  As
  1358.           with LOAD_MEM above you will need to check which video
  1359.           adapter is present with CHECKCOLOR to load the unpacked
  1360.           screen into either the color video buffer location or
  1361.           the monochrome video buffer location.
  1362.  
  1363.  
  1364.           USING BOX SCREENS FOR CONTEXT SENSITIVE HELP
  1365.  
  1366.           It is easy to create a context-sensitive help facility
  1367.           in your Turbo Pascal program with the BOX screen editor
  1368.           and a few simple routines such as those contained on
  1369.           the BOX diskette in file EXAMPLE2.PAS.
  1370.  
  1371.           The first step is to decide how many help screens you
  1372.           need and during what processing steps you want the help
  1373.           screens to display.  There is no need to be skimpy on
  1374.           the number of help screens because you need not store
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.           =======================================================
  1389.           BOX USER GUIDE                                 PAGE 22
  1390.           =======================================================
  1391.  
  1392.           them in your program but rather you may store them on
  1393.           disk and called them in as needed.
  1394.  
  1395.           First, use the BOX editor to create each of the help
  1396.           screens.  You may enter text, draw lines, use different
  1397.           colors and get as fancy as you wish.  After you have
  1398.           completed each help screen save it using a memory or
  1399.           packed format.
  1400.  
  1401.           Now turn to your Turbo Pascal program.  You will need
  1402.           to make several minor additions and modifications to
  1403.           tailor the help facility.  First, from file
  1404.           EXAMPLE2.PAS, copy PROCEDURE HELPMSG (along with any
  1405.           other procedures and functions you decide to use) into
  1406.           your program.  In PROCEDURE HELPMSG delete the help
  1407.           screen file names referenced there and add your own.
  1408.           You may have to extend the case statement to cover more
  1409.           than four help screens.
  1410.  
  1411.           Next, assign values to the variable HELPCONTEXT at
  1412.           various locations in your program corresponding to the
  1413.           help screen you want to display.  For example if the
  1414.           help screen for your EDIT function is EDITHELP.MEM and
  1415.           you have assigned it position No. 2 in the HELPMSG case
  1416.           statement then be sure to set HELPCONTEXT := 2; in the
  1417.           first few statements of your EDIT Procedure.
  1418.  
  1419.           Now all that's left is to intercept each keystroke as
  1420.           it is entered and check it to see if the user has
  1421.           pressed F1 (or whatever you wish the help key to be).
  1422.           If the user has pressed the help key then your program
  1423.           should call HELPMSG to display the appropriate help
  1424.           screen.  This feat is relatively easy if you are
  1425.           reading in one keystroke at a time.  The function
  1426.           NEXTKEY in EXAMPLE2.PAS shows you how.  But it is a bit
  1427.           more difficult to trap the help keystroke if you're
  1428.           using Turbo's read statement to read in an entire field
  1429.           at one time.  If you really want slick context-
  1430.           sensitive help you must write your own IO routines
  1431.           examining each character as it comes in.  This is not
  1432.           as tough as it sounds.
  1433.  
  1434.           That's all there is to it.  If the user hits F1 any
  1435.           time during the execution of the program, HELPMSG and
  1436.           the other routines will do all the work.  The right
  1437.           help screen will flash on the monitor and, when the
  1438.           user hits a key, will disappear leaving him at the
  1439.           exact spot he was when he asked for help.
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.           =======================================================
  1455.           BOX USER GUIDE                                 PAGE 23
  1456.           =======================================================
  1457.  
  1458.           CAPTURING SCREENS FROM OTHER PROGRAMS WITH GRAB
  1459.  
  1460.           On the BOX disk you will find the program GRAB.COM, a
  1461.           memory-resident screen capturing program.  GRAB is a
  1462.           program that, when activated by pressing the ALT key
  1463.           and the PrtSc key simultaneously, saves the current
  1464.           screen image to disk under BOX's Memory format.  You
  1465.           can use GRAB to capture screens from other programs and
  1466.           later modify those screens using the BOX editor and
  1467.           incorporate the screens into your own programs.
  1468.  
  1469.           To use GRAB first run the program by typing GRAB at the
  1470.           DOS prompt.  GRAB will print a short message confirming
  1471.           that it has been loaded.  You may now proceed to run
  1472.           any other program you wish.  Whenever you want to save
  1473.           the screen image hit the ALT-PrtSc keys and GRAB will
  1474.           create a Memory format file containing the screen image
  1475.           on the current disk drive.  If the drive or directory
  1476.           has been changed by the program or the batch file, GRAB
  1477.           will write to the new drive and directory.  Later you
  1478.           can copy the files to whatever directory you wish.  It
  1479.           is a good idea to wait until the program you are
  1480.           running is stable (i.e. waiting for a keystroke) before
  1481.           trying to capture the screen.
  1482.  
  1483.           When GRAB saves the screen it assigns a file name using
  1484.           the convention BOXnnn.MEM.  The nnn portion of the file
  1485.           name starts with 000 and is incremented by one for each
  1486.           file saved.  So the first file will be named
  1487.           BOX000.MEM, the second BOX001.MEM and so on.
  1488.  
  1489.           GRAB saves files only in the Memory format but it is
  1490.           easy to covert the file format later with BOX.  Simply
  1491.           LOAD the file using a Memory format and SAVE the file
  1492.           using an ASCII or Packed format.