home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / e / estat21.zip / EASIDOC.ZIP / ESCHAP02.DOC < prev    next >
Text File  |  1992-06-30  |  30KB  |  793 lines

  1.  
  2.  
  3.      Chapter 2: GETTING STARTED
  4.  
  5.  
  6.      2:1. Demonstrations
  7.  
  8.      If you do not want to see demonstrations of EASISTAT and
  9.      EASIGRAF in action then skip this section.
  10.  
  11.      2:1.1  Starting the EASISTAT demonstration
  12.  
  13.      A special command file is supplied called DEMO and this
  14.      has been written to provide a demonstration of many of
  15.      EASISTAT'S features. The demonstration lasts a few
  16.      minutes. To see it, first make sure that your computer is
  17.      turned on and that you have booted up DOS in the usual
  18.      way (if you do not know how to do this please consult
  19.      your DOS manual). You should see a prompt saying
  20.      something like e.g. A> or B:\> or C:\DOS>. Put the
  21.      EASISTAT disk into the disk drive of your computer and
  22.      close the door of the drive. Do not take the disk out of
  23.      the drive until the demonstration has finished. Now type
  24.      the name of that drive followed by a colon (either A: or
  25.      B:) and press the ENTER (or RETURN) key. Now type DEMO
  26.      and press the ENTER key. The demonstration should begin.
  27.      (In fact entering DEMO in this way runs the DOS batch
  28.      file called DEMO.BAT, which contains the line EASISTAT
  29.      DEMO and it is this line which causes EASISTAT to run
  30.      using the command file DEMO as input.)
  31.  
  32.      2:1.2  During the demonstration
  33.  
  34.      The demonstration will pause regularly to allow you time
  35.      to read what is on the screen. when a pause occurs the
  36.      following message appears in the bottom window of the
  37.      screen:
  38.  
  39.      A pause has occurred in the input command file 
  40.      'E' to end file, 'K' to use keyboard, any other key to continue
  41.  
  42.      When the message appears the computer will wait for you
  43.      to press a key before it does anything else. If you press
  44.      any key except E or K the demonstration will continue
  45.      normally, and we advise you to do this. If you press E
  46.      the demonstration will finish prematurely and you will be
  47.      left with control of the EASISTAT. To find out what to do
  48.      next see the section titled "When the demonstration
  49.      finishes". If you press K then you will gain temporary
  50.      control of EASISTAT and you can issue any commands you
  51.      like to it as described later in the manual. You can then
  52.      return to the demonstration at any time by entering INPUT
  53.      CLOSE.
  54.  
  55.      Sometimes the demonstration may appear to have paused but
  56.      the above message does not appear in the window. This
  57.      means that EASISTAT is busy performing a calculation
  58.      which is taking a little time. The longest takes about a
  59.      minute on slower computers. Just wait and the
  60.      demonstration should proceed.
  61.  
  62.      Do not worry about the other words you see popping up in
  63.      the bottom window. These are requests by the program for
  64.      new commands and parameters, but they are supplied by the
  65.      
  66.        8 
  67.        Getting started 
  68.      
  69.      demonstration file so you do not have to do anything.
  70.  
  71.      2:1.3  When the demonstration runs the editor
  72.  
  73.      Late on in the demonstration the full-screen data editor
  74.      is displayed and you are left in control of it. For full
  75.      details of how to use the editor you can refer to the
  76.      section specifically on the EDIT command. For
  77.      demonstration purposes you may just want to move around
  78.      the table a bit using the cursor keys and changing a few
  79.      numbers here and there. The only thing you really need to
  80.      know is how to leave the editor. To do this simply press
  81.      the ESCAPE key, which is usually up near the top left of
  82.      the keyboard and is marked "Esc". You will return to the
  83.      end of the demonstration.
  84.  
  85.      2:1.4  When the EASISTAT demonstration has finished
  86.  
  87.      At the end of the demonstration you will be put in
  88.      control of EASISTAT (if you have paid for the program
  89.      then obviously you should ignore the message asking you
  90.      to do so). You can now either leave EASISTAT or you can
  91.      proceed to run the demonstration of how EASISTAT can
  92.      interact with EASIGRAF to produce graphs. If you wish to
  93.      leave EASISTAT, type QUIT then press the ENTER key, then
  94.      when asked if you are sure type YES and press ENTER.
  95.      Otherwise, continue on to the next section.
  96.  
  97.      2:1.5  Running the EASIGRAF demonstrations
  98.  
  99.      There are two demonstrations which show you the features
  100.      of EASIGRAF. The first one demonstrates how EASISTAT can
  101.      interact with EASIGRAF to produce graphs. If you wish to
  102.      see this then while running EASISTAT insert the disk
  103.      containing the EASIGRAF files into the drive. (If the
  104.      EASISTAT and EASIGRAF files are all on the same disk then
  105.      you do not have to do anything.) Next type INPUT GDEMO
  106.      and press ENTER. EASISTAT should then begin reading the
  107.      GDEMO demonstration file, which will run EASIGRAF.
  108.  
  109.      The second EASIGRAF demonstration does not require
  110.      EASISTAT, and shows how EASIGRAF works with graph files
  111.      which have already been created. This demonstration is
  112.      produced by GRAFDEMO.BAT, which is a DOS batch file. To
  113.      run it you must first leave EASISTAT (by entering QUIT)
  114.      and make sure that the disk containing the EASIGRAF files
  115.      is in the drive. Then at the DOS prompt enter GRAFDEMO.
  116.  
  117.      Each time the demonstration runs EASIGRAF it should
  118.      present a graph on the screen. Sometimes the
  119.      demonstration will suggest certain keys to press to see
  120.      special features of EASIGRAF. However the only thing that
  121.      you really need to know is that to leave EASIGRAF and
  122.      continue with the demonstration you press the letter Q on
  123.      the keyboard.
  124.  
  125.      There are one or two things which may go wrong when
  126.      running the EASIGRAF demonstration. If your computer has
  127.      a very limited amount of memory then it may not be
  128.      possible for both EASISTAT and EASIGRAF to reside in
  129.      memory at once, and it will not be possible to run the
  130.      GDEMO demonstration from EASISTAT. The stand-alone
  131.      
  132.        9 
  133.        Getting started 
  134.      
  135.      demonstration GRAFDEMO.BAT should still work OK in this
  136.      situation however.
  137.  
  138.      A more serious problem is that EASIGRAF may not be able
  139.      to recognise what kind of display type you have. If this
  140.      is the case then the first time the demonstration tries
  141.      to run EASIGRAF no graph will be displayed and you may
  142.      get an error message saying that the display type is
  143.      unrecognised, or the computer may just "hang up" and stop
  144.      dead. If the computer hangs you will need to reboot it,
  145.      either by pressing CONTROL-ALT-DEL or by turning it off
  146.      and on again. If the display type cannot be recognised
  147.      automatically then you will need to set the DOS
  148.      environment variable FG_DISPLAY. This is described in the
  149.      section below on installation.
  150.  
  151.      2:1.6  Examining the demonstration files
  152.  
  153.      We recommend that when you have become a bit more
  154.      familiar with EASISTAT and EASIGRAF you should study the
  155.      files called DEMO, GDEMO and GRAFDEMO.BAT carefully. You
  156.      can read them with a word processor or the EDIT program
  157.      and you can print them out on a printer by entering e.g.
  158.      PRINT DEMO when you are at the DOS prompt. The first two
  159.      are simply EASISTAT command files such as you can write
  160.      yourself, and it may be very helpful for you to see the
  161.      way that the commands have been used in the file to
  162.      create the demonstration that you see.
  163.  
  164.  
  165.      2:2. Quick start
  166.  
  167.      You are advised to skip this section and move on to the
  168.      section headed "Installation". However if you can't wait
  169.      and want to have a have a go at working EASISTAT here's
  170.      what you do:
  171.  
  172.      1. Make sure your computer is turned on and that you have
  173.      booted up DOS in the usual way (if you do not know how to
  174.      do this please consult your DOS manual). You should see a
  175.      prompt saying something like e.g. A> or B:\> or C:\DOS\>.
  176.      Put the EASISTAT disk into the disk drive of your
  177.      computer and close the door of the drive. Now type the
  178.      name of that drive followed by a colon (either A: or B:)
  179.      and press the ENTER (or RETURN) key.
  180.  
  181.      2. Type EASISTAT and press ENTER. The EASISTAT screen
  182.      should appear.
  183.  
  184.      3. Press any key, and the message "Select command -" will
  185.      appear in the bottom window. In the top window a list of
  186.      all the commands available appears.
  187.  
  188.      4. Type EDIT and press ENTER. You are now looking at the
  189.      data editing screen, which is almost empty except for one
  190.      column called "NEW" and one row with a zero in it.
  191.  
  192.      5. Hold down the CONTROL key (marked "Ctrl") with one
  193.      finger and then while doing so press the RIGHT ARROW key.
  194.      A second column appears to the right of the first one. Do
  195.      this once or twice more if you feel like it.
  196.  
  197.      
  198.        10 
  199.        Getting started 
  200.      
  201.      6. Using the arrow keys you can move from column to
  202.      column and then type a number into that column. To make a
  203.      new row and move down to it press ENTER.
  204.  
  205.      7. Moving around the screen in this way type in a few
  206.      numbers to get the feel of the editor. (At this stage
  207.      numbers following a decimal point will not be displayed.)
  208.      When you've filled a few rows and columns press the
  209.      ESCAPE key (marked "Esc") and you will leave the editor.
  210.      The "Select command -" message will be displayed.
  211.  
  212.      8. Type BASICS C1 then press ENTER. You will be shown the
  213.      mean, variance, etc. of the numbers you typed into the
  214.      first column.
  215.  
  216.      9. Type REGRESS C1 C2 then press ENTER. You will see the
  217.      correlation coefficient and linear regression line for
  218.      the first two columns.
  219.  
  220.      10. Type QUIT then press ENTER.
  221.  
  222.      11. Type YES then press ENTER.
  223.  
  224.      12. Now read the rest of the manual.
  225.  
  226.  
  227.      2:3. Installation
  228.  
  229.      Installing the programs is fairly simple. The following
  230.      program files will need to be copied to a suitable
  231.      subdirectory:
  232.  
  233.      EASISTAT.EXE
  234.      EASIGRAF.EXE
  235.      EDIT.EXE
  236.  
  237.      The following program files will need to be extracted
  238.      from the self-extracting archive UTILS.EXE into the same
  239.      subdirectory:
  240.  
  241.      EASIMATH.EXE
  242.      PRMSP.EXE
  243.  
  244.      You should add the subdirectory where the program files
  245.      are to be located to the DOS search path, using the PATH
  246.      command in your AUTOEXEC.BAT file. You should also check
  247.      that your CONFIG.SYS file has the lines FILES=10 and
  248.      BUFFERS=20.
  249.  
  250.      You may need to set the DOS environment variable
  251.      FG_DISPLAY if EASIGRAF has trouble recognising your
  252.      display type, and this again should be accomplished with
  253.      the relevant command in your AUTOEXEC.BAT file.
  254.  
  255.      If you require the documentation files on disk then they
  256.      can be extracted from the self-extracting archives
  257.      EASIDOC1.EXE and EASIDOC2.EXE.
  258.  
  259.      The following sections until "Running EASISTAT" describe
  260.      how to accomplish the above procedures. The other files
  261.      which are supplied consist of example files which are
  262.      used in the demonstrations and you may or may not wish to
  263.      
  264.        11 
  265.        Getting started 
  266.      
  267.      copy these also.
  268.  
  269.      2:3.1  Copying the program files
  270.  
  271.      We recommend that you put all of the program files into
  272.      their own subdirectory on your hard disk. You may or may
  273.      not also want to have the demonstration and example data
  274.      files with them, but to run the programs successfully you
  275.      only need the program files. We will assume you wish to
  276.      install programs into a subdirectory called ESTAT of your
  277.      hard disk. We will assume that your hard disk drive is
  278.      called C: and your floppy disk drive is called A:. Begin
  279.      by entering the following lines just as they are printed
  280.      (by "enter" we mean type the line and then press the
  281.      ENTER or RETURN key):
  282.  
  283.       C:
  284.       MKDIR \ESTAT
  285.       CHDIR \ESTAT
  286.  
  287.      Put the floppy disk supplied into drive A: and close the
  288.      door on that drive. In order to see which files are on
  289.      the disk enter the following line:
  290.  
  291.      DIR A:
  292.  
  293.      If you have received the files on more than one disk then
  294.      the programs you require may be on different disks. For
  295.      each program insert the relevant disk in the drive before
  296.      entering one of the following lines:
  297.  
  298.       COPY A:EASISTAT.EXE
  299.       COPY A:EDIT.EXE
  300.       COPY A:EASIGRAF.EXE
  301.  
  302.      The files that were on the floppy disk(s) are now copied
  303.      onto the hard disk into the subdirectory called ESTAT.
  304.      Put the floppy disk(s) away somewhere safe.
  305.  
  306.      2:3.2  Copying the example files
  307.  
  308.      Although you do not need them to run the programs, you
  309.      may want to make copies of the demonstration and example
  310.      files so that you can refer to them later. This is done
  311.      in the same way as the program files are copied, so for
  312.      example if you wish to copy the file called DEMO you
  313.      would enter:
  314.  
  315.      COPY A:DEMO
  316.  
  317.      The only thing to add is that it is easy to copy all the
  318.      example graph files at once (the files ending .GRP) by
  319.      using the DOS wildcard facility:
  320.  
  321.      COPY A:*.GRP
  322.  
  323.      2:3.3  Extracting files from an archive
  324.  
  325.      In order to extract the files from the self-extracting
  326.      archive called UTILS.EXE all you have to do is enter
  327.      UTILS and the files will be extracted into the current
  328.      working directory. To get the files into the ESTAT
  329.      
  330.        12 
  331.        Getting started 
  332.      
  333.      subdirectory of drive C: put the floppy disk containing
  334.      the file UTILS.EXE into drive A: and enter:
  335.  
  336.       C:
  337.       CHDIR \ESTAT
  338.       A:UTILS
  339.  
  340.      You should see that the utility programs contained in the
  341.      archive are extracted without any problems. If you wish
  342.      to obtain copies of the documentation on disk then you
  343.      should follow the same procedure for the files
  344.      EASIDOC1.EXE and EASIDOC2.EXE.
  345.  
  346.      2:3.4  Setting the PATH
  347.  
  348.      We recommend that if you install the programs into a
  349.      subdirectory of your hard disk then you should add this
  350.      directory to your DOS search path. This is done with the
  351.      PATH command in your AUTOEXEC.BAT file which is in the
  352.      root directory of the disk you boot from. Assuming that
  353.      your computer boots from the hard disk (i.e. there is no
  354.      floppy disk in the drive when you switch on your
  355.      computer) then the full file name will be
  356.      C:\AUTOEXEC.BAT. The best way to edit this file is to use
  357.      the EDIT program supplied. This should have been copied
  358.      into the relevant subdirectory (e.g. C:\ESTAT) along with
  359.      the other files. In this case you should enter the
  360.      following commands:
  361.  
  362.       C:
  363.       CHDIR \ESTAT
  364.       EDIT C:\AUTOEXEC.BAT
  365.  
  366.      If this procedure works correctly you should now see your
  367.      AUTOEXEC.BAT file displayed, and one of the lines in it
  368.      will almost certainly begin PATH. If there is no line
  369.      beginning PATH or SET PATH then then use the editor to
  370.      add the following line:
  371.  
  372.      PATH=C:\ESTAT
  373.  
  374.      More likely, there will already be a PATH statement and
  375.      then you should add the correct subdirectory to the end
  376.      of it, separated by a semicolon. For example if you
  377.      currently have the line:
  378.  
  379.      PATH=C:\;C:\DOS;C:\UTILS
  380.  
  381.      you should change it to
  382.  
  383.      PATH=C:\;C:\DOS;C:\UTILS;C:\ESTAT
  384.  
  385.      When you have finished altering AUTOEXEC.BAT press the
  386.      ESCAPE key to bring up the EDIT menu, press S to save,
  387.      press ENTER twice to save the file back as
  388.      C:\AUTOEXEC.BAT and then press Q and ENTER to quit the
  389.      editor.
  390.  
  391.      An unlikely possibility is that you do not have any
  392.      AUTOEXEC.BAT file at all, in which case the above
  393.      procedure would create one. However if you get a message
  394.      from EDIT that it could not read the file then it is more
  395.      
  396.        13 
  397.        Getting started 
  398.      
  399.      likely that it does exist but you that you have not
  400.      specified its name or location correctly.
  401.  
  402.      If you do boot from a floppy disk then you can alter the
  403.      AUTOEXEC.BAT file on that by entering:
  404.  
  405.      EDIT A:\AUTOEXEC.BAT
  406.  
  407.      If you only have one floppy disk drive and you wish to
  408.      use the EDIT program from one floppy disk to alter the
  409.      AUTOEXEC.BAT file on another then you can put the first
  410.      disk in the drive and enter:
  411.  
  412.      EDIT B:\AUTOEXEC.BAT
  413.  
  414.      The computer will ask you to insert "the disk for drive
  415.      B:" and you can put in the second disk to be edited.
  416.  
  417.      2:3.5  Setting up CONFIG.SYS
  418.  
  419.      For the programs to work properly you may need to have
  420.      the following lines in your CONFIG.SYS file:
  421.  
  422.       FILES=10
  423.       BUFFERS=20
  424.  
  425.      (The values can be higher than 10 and 20, but should not
  426.      be lower. If you choose to have deeply-nested command
  427.      files and also want to have other files open at the same
  428.      time, then the value for FILES may need to be even higher
  429.      that 10, but 10 should suffice for normal usage.)
  430.  
  431.      You can edit the CONFIG.SYS file in the same way as is
  432.      described above to edit the AUTOEXEC.BAT file, using the
  433.      EDIT program.
  434.  
  435.      2:3.6  Setting FG_DISPLAY
  436.  
  437.      FG_DISPLAY is a DOS environment variable which will need
  438.      to be set if EASIGRAF cannot recognise your display
  439.      device automatically. This is the kind of monitor that
  440.      you have (or rather the kind of display card that the
  441.      monitor plugs into). This is a problem which you will
  442.      either get straight away or never - you can't have it
  443.      some days and not others. You can test EASIGRAF by making
  444.      sure that you have a copy of one of the example graph
  445.      files, for example HISTO.GRP, on the floppy disk in drive
  446.      A: and then entering:
  447.  
  448.      EASIGRAF A:HISTO.GRP
  449.  
  450.      If EASIGRAF manages to draw any kind of graph on your
  451.      screen then it has recognised the display OK and you can
  452.      move on. If it draws nothing or produces a very scrambled
  453.      display or maybe gives you an error message about a
  454.      problem initialising the display then you will have to
  455.      set a DOS environment variable called FG_DISPLAY to the
  456.      name of your display type. To do this, at the DOS prompt
  457.      before you run EASIGRAF or EASISTAT type the following
  458.      line:
  459.  
  460.  
  461.      
  462.        14 
  463.        Getting started 
  464.      
  465.      SET FG_DISPLAY=xxxx
  466.  
  467.      except instead of xxxx type one of the following:
  468.  
  469.       HERC
  470.       CGAHIRES
  471.       EGAECD
  472.       VGA11
  473.       VGA12
  474.       EGAMONO
  475.       EGACOLOR
  476.       TOSHIBA
  477.       8514A
  478.  
  479.      Which one you type depends on the kind of display you
  480.      have which you will have to determine from reading your
  481.      computer manual or by asking your supplier. So if you
  482.      have a Hercules-compatible display you would type:
  483.  
  484.      SET FG_DISPLAY=HERC
  485.  
  486.      and if you had a CGA display you would type:
  487.  
  488.      SET FG_DISPLAY=CGAHIRES
  489.  
  490.      and so on.
  491.  
  492.      If you can't work out what sort of display you have you
  493.      will have to try each in turn until you find one which
  494.      makes EASIGRAF work properly. You only have to set the
  495.      display type once each time your computer is turned on,
  496.      so when you've found the right command you should put it
  497.      into your AUTOEXEC.BAT file. Follow the instructions
  498.      above for editing your AUTOEXEC.BAT file and add the line
  499.      (for example):
  500.  
  501.      SET FG_DISPLAY=CGAHIRES
  502.  
  503.      2:3.7  Installation on a floppy disk
  504.  
  505.      If you will be using the programs from a floppy disk then
  506.      you should make back up copies of all the files. We will
  507.      assume that you have a floppy disk drive called A:. If
  508.      you have a second floppy disk drive it will be called B:,
  509.      otherwise your computer will pretend that your one drive
  510.      is actually two and will keep asking you to swap disks.
  511.  
  512.      Put the floppy disk supplied into drive A: and close the
  513.      door on that drive. If you have a second drive put a
  514.      blank formatted disk into that drive and close the door.
  515.      Otherwise just have the second disk ready to swap when
  516.      the computer tells you to.
  517.  
  518.      Enter each of the following lines just as they are
  519.      printed (by "enter" we mean type the line and then press
  520.      the ENTER or RETURN key).
  521.  
  522.       A:
  523.       COPY *.* B:
  524.  
  525.      (If you have only one drive the computer will ask you to
  526.      swap the disks around, so just follow its instructions.
  527.      
  528.        15 
  529.        Getting started 
  530.      
  531.      The "disk for drive A:" is the one we have supplied and
  532.      the "disk for drive B:" is the blank one to copy the
  533.      program onto.)
  534.  
  535.      Repeat this process for each of the disks that have been
  536.      supplied, then put the original disks away somewhere
  537.      safe.
  538.  
  539.      The self-extracting archives can also be unpacked from
  540.      one floppy disk to another, even if you actually only
  541.      have one disk drive. To unpack UTILS.EXE just enter:
  542.  
  543.      A:UTILS B:
  544.  
  545.      This will run UTILS.EXE from drive A:, but the files will
  546.      be written to drive B: and DOS will ask you to insert the
  547.      appropriate disk for each drive.
  548.  
  549.      You may want to copy some of the program files but not
  550.      others to be together on the same disk, for example if
  551.      you wanted to have EDIT.EXE and PRMSP.EXE on the same
  552.      disk you would start with an extra blank disk and then
  553.      insert the disk containing EDIT.EXE into drive A: and
  554.      either insert the blank disk into drive B: or if you have
  555.      only one drive then just keep it ready to swap. Then
  556.      enter:
  557.  
  558.      COPY A:EDIT.EXE B:
  559.  
  560.      Then insert the disk containing PRMSP.EXE into drive A:
  561.      and enter:
  562.  
  563.      COPY A:PRMSP.EXE B:
  564.  
  565.      2:3.8  Running EASISTAT
  566.  
  567.      (If you have just altered your AUTOEXEC.BAT or CONFIG.SYS
  568.      file then you should reboot your computer or turn it off
  569.      and then on again so that the changes you have just made
  570.      can take effect.)
  571.  
  572.      To run EASISTAT just type EASISTAT at the DOS prompt and
  573.      press ENTER (or RETURN). This will only work if
  574.      EASISTAT.EXE is in the current working directory or on
  575.      the DOS search path. If you get the message:
  576.  
  577.      Bad command or file name
  578.  
  579.      then it means that DOS cannot find the file called
  580.      EASISTAT.EXE in the current working directory or on the
  581.      search PATH and either you must change to the directory
  582.      where EASISTAT.EXE is or you you must tell DOS where it
  583.      can find EASISTAT.EXE by giving the full pathname for it.
  584.  
  585.      As an example, suppose that you are currently logged on
  586.      to drive A: (which means that the DOS prompt will say A>,
  587.      A:\> or something similar) and that EASISTAT.EXE is on
  588.      the hard disk, drive C:, in a subdirectory called ESTAT.
  589.      Then to run EASISTAT you could enter one of the following
  590.      two sets of commands:
  591.  
  592.  
  593.       
  594.         16 
  595.         Getting started 
  596.       
  597.       C:
  598.       CHDIR \ESTAT
  599.       EASISTAT
  600.  
  601.      or:
  602.  
  603.      C:\ESTAT\EASISTAT
  604.  
  605.      If you are not sure whether or not you are in the
  606.      subdirectory which contains EASISTAT.EXE then enter DIR
  607.      and you will see a list of all files in that
  608.      subdirectory. If you do not understand how the
  609.      subdirectory structure works and how to manipulate files
  610.      with DOS commands, then we strongly advise you to study
  611.      the DOS manual and make yourself familiar with the
  612.      following commands: DIR, MKDIR, CHDIR, COPY, DEL, REN.
  613.      They are quite straightforward when you get the hang of
  614.      them and your computer will be about 347 times more
  615.      useful to you once you have understood them.
  616.  
  617.      If you are running EASISTAT from a hard disk then you can
  618.      avoid these problems by editing the PATH statement in
  619.      your AUTOEXEC.BAT file to include the subdirectory
  620.      containing EASISTAT, as described above.
  621.  
  622.      2:3.9  Using subdirectories
  623.  
  624.      The program EASISTAT is loaded from a program file called
  625.      EASISTAT.EXE. As well as this file EASISTAT can also use
  626.      four other kinds of file: data files, output files,
  627.      command files and graph files. You will need to decide
  628.      where you want to keep these different files.
  629.  
  630.      A simple solution is to have EASISTAT.EXE and the other
  631.      files used all on the same disk and all in the same
  632.      subdirectory. Then whenever you want to use EASISTAT you
  633.      should first change into that subdirectory (using the
  634.      CHDIR command as in the first of the two methods
  635.      described in the section above) and then all the files
  636.      will automatically be in the right place.
  637.  
  638.      However it may well be that you will want to keep
  639.      EASISTAT.EXE in one subdirectory and the associated files
  640.      in another (for example different people may use EASISTAT
  641.      and each person may want to keep his or her data in a
  642.      separate subdirectory). If that is the case we recommend
  643.      that you add the EASISTAT directory to your PATH
  644.      statement as explained above. If you do not wish to do
  645.      that then you should first change into the directory with
  646.      data files etc., and then run EASISTAT by using the
  647.      second method described above. To try to make this clear
  648.      here are some examples of different locations for
  649.      EASISTAT.EXE and the data files with the recommended
  650.      commands for running the program:
  651.  
  652.      Example 1. EASISTAT.EXE on a disk in drive A: and data
  653.      files on hard disk C: in a subdirectory called STANLEY.
  654.      Enter:
  655.  
  656.       C:
  657.       CHDIR \STANLEY
  658.       A:EASISTAT
  659.      
  660.        17 
  661.        Getting started 
  662.      
  663.      Example 2. EASISTAT.EXE on hard disk C: in a subdirectory
  664.      called ESTAT and data files on a disk in drive B:. Enter:
  665.  
  666.       B:
  667.       C:\ESTAT\EASISTAT
  668.  
  669.      Example 3. EASISTAT.EXE on hard disk C: in a subdirectory
  670.      called UTILS which is itself in a subdirectory called
  671.      MICHAEL and data files on drive hard disk C: in a
  672.      subdirectory called DATA which itself is in a
  673.      subdirectory called TIMOTHY. Enter:
  674.  
  675.       C:
  676.       CHDIR \TIMOTHY\DATA
  677.       \MICHAEL\UTILS\EASISTAT
  678.  
  679.      We hope this gives you the general idea.
  680.  
  681.      It's usually better to start from the subdirectory where
  682.      your data and output files are to go than from the one
  683.      EASISTAT is in, but it is only a question of convenience.
  684.      Given the above setup you could run the whole thing even
  685.      though you were logged onto drive B: by entering
  686.  
  687.      C:\MICHAEL\UTILS\EASISTAT
  688.  
  689.      and then using EASISTAT commands like
  690.  
  691.       DATA C:\TIMOTHY\DATA\FIXED.DAT
  692.       OUTPUT C:\TIMOTHY\DATA\FUDGED.OUT
  693.  
  694.      so that it would be perfectly clear to EASISTAT where to
  695.      look for the other files.
  696.  
  697.      If you wish to use EASIGRAF in conjunction with EASISTAT,
  698.      then EASISTAT will need to be able to find the EASIGRAF
  699.      program file, EASIGRAF.EXE. For this to work
  700.      automatically then EASIGRAF.EXE must either be in the
  701.      current working directory or in one of the directories
  702.      specified by the PATH statement. If the former case is to
  703.      apply then it may be an argument for keeping a copy of
  704.      EASIGRAF.EXE in the same directory as your data files.
  705.  
  706.      To repeat, by far the best way to avoid these
  707.      complications is to see that the subdirectory containing
  708.      the program files has been added to the PATH statement in
  709.      the AUTOEXEC.BAT file. Then you can use the subdirectory
  710.      containing data files as the working directory and the
  711.      programs will always be automatically available.
  712.  
  713.      2:3.10  If you only have one disk drive
  714.  
  715.      The advantage of EASISTAT over some other programs is
  716.      that the whole program is loaded into memory at once and
  717.      no overlays are used. This makes it run more quickly, and
  718.      it also means that once it has been loaded there is no
  719.      need to keep the disk from which it was run in the disk
  720.      drive. This means that the programs can be used even if
  721.      you have a computer which has no hard disk and only one
  722.      floppy drive. If you have EASISTAT.EXE on one floppy disk
  723.      and your data files on another, then you can use them
  724.      both in the same disk drive by loading EASISTAT from the
  725.      
  726.        18 
  727.        Getting started 
  728.      
  729.      first disk and then running it with the second disk in
  730.      the drive. Begin by putting the disk containing
  731.      EASISTAT.EXE in the drive, close the door of the drive
  732.      and enter:
  733.  
  734.      EASISTAT
  735.  
  736.      Then put the first disk aside and replace it with the
  737.      disk which you wish to use for data files etc. When you
  738.      use EASISTAT it will read and write the files on this
  739.      disk.
  740.  
  741.      If you have an ordinary double density 5.25" disk then
  742.      there will not be room for both EASISTAT.EXE and
  743.      EASIGRAF.EXE on the same disk. It is up to you which
  744.      other files you want to copy to be together on a disk,
  745.      but in order to be able to display graphs automatically
  746.      the simplest solution is to have a copy of EASIGRAF.EXE
  747.      on the same disk as the data files. Alternatively, when
  748.      it is desired to produce a graph the disk containing the
  749.      data files can be temporarily removed and the EASIGRAF
  750.      disk inserted instead. However this last technique cannot
  751.      be used if EASISTAT is writing any output files or
  752.      reading any command files, because changing disks would
  753.      cause these files to be corrupted.
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.      
  792.        19 
  793.