home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / calcultr / zyac12.arc / ZYAC.DOC < prev    next >
Text File  |  1987-02-17  |  29KB  |  662 lines

  1.  
  2.  
  3.  
  4.                          ZYAC (Version 1.2) User's Guide
  5.                             Author:  Gregory D. Elder
  6.                            Updated:  February 17, 1987
  7.  
  8.  
  9.              No,   not  Yet  Another  Compiler  but  Zenith  Yet  Another 
  10.         Calculator  (ZYAC)  program!   I wrote ZYAC specifically for  the 
  11.         Z100.   It  allows  you  to  use  a  Z100  as  a  scientific-like 
  12.         calculator.   With ZYAC 1.2,  I created a version for the IBM-PC.  
  13.         ZYAC was written entirely using Computer Innovation's C compiler.  
  14.         ZYAC  is released to the public domain.   It may not be  sold  or 
  15.         exchanged  for  gain of any sort without written permission  from 
  16.         the  author.   Z100 USERS PLEASE NOTE:   SINCE ZYAC USES THE  H19 
  17.         GRAPHICS  CHARACTER  SET,  ENSURE  YOU BOOT YOUR  Z100  WITH  THE 
  18.         GRAPHICS CHARACTER SET IN THE ALTCHAR.SYS FILE.
  19.  
  20.              ZYAC is distributed with the following files:
  21.  
  22.                   ZYAC.DOC     - Documentation file (this file).
  23.                   ZYACZ100.EXE - Version of ZYAC for Z100's.
  24.                   ZYACIBM.EXE  - Version of ZYAC for IBM-PC's.
  25.                   EXAMP.ZYC    - Example of a ZYAC save file.
  26.  
  27.         Before  using ZYAC,  copy the appropriate version to your working 
  28.         disk  and rename the program to ZYAC.   For example,  if you  are 
  29.         using  a Z100,  copy ZYACZ100.EXE to your  working  disk.   Then,  
  30.         rename the file with the DOS rename command as shown below:
  31.  
  32.                   REN ZYACZ100.EXE ZYAC.EXE
  33.  
  34.         STARTING ZYAC
  35.  
  36.              To start ZYAC,  simply type ZYAC<CR> or ZYAC filename<CR> at 
  37.         the  DOS  prompt.  (The symbol <CR> represents  the  RETURN  key.  
  38.         Whenever  you see it in this manual it means to press the  RETURN 
  39.         key.)  The  optional  filename may be a file  containing  initial 
  40.         values  for ZYAC's two memory registers and programmable function 
  41.         keys.  More about this feature will be explained later.
  42.  
  43.              After  ZYAC starts operating,  various windows are drawn  on 
  44.         the screen.  The middle of the screen will display the image of a 
  45.         calculator.  At  the top of the calculator is a window I call the 
  46.         numeric window  (NW).  The numeric window  echoes the numbers you 
  47.         type in,  as well as displaying the results of any operations you 
  48.         perform.   For  Z100  users,  the keys shown  on  the  calculator 
  49.         correspond  to  the  keys on the  Z100's  keypad.   For  example, 
  50.         pressing  the UP-ARROW key on the keypad causes ZYAC to perform a 
  51.         multiplication operation.  For IBM-PC users, the  calculator keys 
  52.         do NOT relate to any particular keyboard keypad layout.   This is 
  53.         because  of the different types of keypads found on IBM-PC's  and 
  54.         IBM clones.   The various key operations will be described later.  
  55.         On  the  left hand side of the screen is  the  menu/help  window.  
  56.         This  window displays the two ZYAC menus.   In addition,  a brief 
  57.         description  of ZYAC is shown in this window whenever the  <HELP> 
  58.         key is depressed on the Z100, or the H key on the IBM-PC.  On the 
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.         ZYAC Version 1.2 Users Guide                               Page 2
  68.  
  69.  
  70.         right  hand side of the screen are five  windows.   The  operator 
  71.         window  at top displays the current operator key depressed by the 
  72.         user.   The two memory windows located below the operator  window 
  73.         show the values saved in memory1 and memory2.  Finally, below the 
  74.         memory  windows are windows for function keys F1 and  F2.   These 
  75.         windows  show  the  current calculator functions  programmed  for 
  76.         these two keys.  The bottom of the screen displays a menu showing 
  77.         the operations for certain function keys.
  78.  
  79.         ENTERING NUMBERS
  80.  
  81.              Numbers  may  be entered by typing the numeric keys  on  the 
  82.         keypad  or  keyboard.   Real numbers as well as integers  may  be 
  83.         typed  in.   Furthermore,  for very large or very small  numbers, 
  84.         scientific notation is supported.
  85.  
  86.              When typing in numbers,  you may enter in as many digits  as 
  87.         will fit in the numeric window  (16 characters).   ZYAC, however, 
  88.         will  only display real numbers out to 8 decimal places with non-
  89.         significant zeros dropped off.   For example,  if you entered the 
  90.         number 9999.012345678 and then added 0 to it,  ZYAC would display 
  91.         9999.01234568.  (Since it only displays out to the eighth decimal 
  92.         place  it  rounded the 7 up to an  8.)   Furthermore,  ZYAC  will 
  93.         display  results in scientific notation as needed.   A scientific 
  94.         notation number is one in the form of [-]x.xxxxxxxxE[-]xxx.   The 
  95.         x's  represent digits and the minus signs are optional  (if  they 
  96.         aren't  there  then  the number  is  positive).   E,  of  course, 
  97.         represents  power  of ten.   For example,  2.983E008 means  2.983 
  98.         times  10  raised to the 8th power.   This would  be  the  number 
  99.         298300000.
  100.  
  101.              Users  may  use  the 'E' key on the  keyboard  for  entering 
  102.         numbers  in scientific notation if desired.   Simply type in  the 
  103.         numeric  part  followed  by 'E'.   If the exponent  is  to  be  a 
  104.         negative  value,  then hit the <+/-> key after the 'E' to  change 
  105.         the sign.  Finally, type in the exponent part.  (The <+/-> key is 
  106.         the  <HOME> key or the '~' key on Z100's.   On IBM-PC's,  the '~' 
  107.         key  is the <+/-> key.)  Notice that hitting the <+/-> key  after 
  108.         typing  the  exponent  will result in changing the  sign  of  the 
  109.         number and not its exponent.  You can only change the sign of the 
  110.         exponent after you have typed the 'E' and before you have entered 
  111.         the  actual  exponent  part.   If you have  already  entered  the 
  112.         exponent and wish to change its sign, simply use the BACKSPACE or 
  113.         DELETE  key  to backup to the 'E'.   Then,  change the  sign  and 
  114.         reenter the exponent part.
  115.  
  116.         USING ZYAC
  117.  
  118.              ZYAC  is  an  Algebraic Operating System  (AOS)  calculator, 
  119.         i.e.,  it  operates similar to a Texas Instrument calculator  and 
  120.         not a reverse polish notation system.   This means you enter  the 
  121.         numbers  and operators the same as if they were written on paper.  
  122.         For  example,  to do 10 - 5 + 3 = 8 you would enter 10,  hit  the 
  123.         minus operator, enter 5, hit the plus operator, enter 3, and then 
  124.         hit  the  equal  operator.   The  result,  8,  would  finally  be 
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.         ZYAC Version 1.2 Users Guide                               Page 3
  134.  
  135.  
  136.         displayed.   ZYAC  does not have any operator  precedence  rules.  
  137.         All operations are performed left to right.   Therefore, 10 - 6 * 
  138.         8 is processed like (10 - 6) * 8 and not 10 - (6 * 8).
  139.  
  140.         ZYAC COMMANDS
  141.  
  142.              Each ZYAC command is shown and described below.
  143.  
  144.         Z100       IBM-PC
  145.         KEY        KEY        FUNCTION
  146.         ====       ======     ========
  147.  
  148.         UP-ARROW   *          Multiplication operator (*).  The UP-ARROW  
  149.         *                     on the Z100 keypad and the '*' key on the 
  150.                               keyboard may be used for multiplication
  151.                               operations.  The '*' key on the IBM-PC is
  152.                               the only valid key for multiplication.
  153.  
  154.         DOWN-ARROW +          Addition operator (+).  The DOWN-ARROW on 
  155.         +                     the Z100 keypad and the '+' key on the
  156.                               keyboard may be used for addition 
  157.                               operations.  The '+' key on the IBM-PC is
  158.                               the only valid key for addition.
  159.  
  160.         RIGHT-     /          Divison operator (/).  The RIGHT-ARROW on
  161.         ARROW, /              the Z100 keypad and the '/' key on the
  162.                               keyboard may be used for divide operations.
  163.                               The '/' key on the IBM-PC is the only
  164.                               valid key for division.  If a divide by
  165.                               zero is attempted, a "DIVIDE BY 0"
  166.                               message will be shown in the numeric
  167.                               window.
  168.  
  169.         LEFT-      %          Percent operator (%). The LEFT-ARROW on 
  170.         ARROW, %              the Z100 keypad and the '%' key on the
  171.                               keyboard may be used for percent
  172.                               operations.  The '%' key on the IBM-PC is
  173.                               the only valid key for percent operations.
  174.                               Percent simply divides the current number
  175.                               by 100.
  176.  
  177.         -          -          Minus key (-) on the Z100 keypad or
  178.                               keyboard performs a subtraction operation.
  179.  
  180.         ENTER      RETURN     Equal operator (=).  The ENTER key on the
  181.         RETURN     =          Z100 keypad, the RETURN key on the 
  182.         =                     keyboard, and the '=' key may be used for
  183.                               equal operations.  The RETURN key and '='
  184.                               key on the IBM-PC are the only valid keys
  185.                               for equal operations.  The equal operator
  186.                               completes all processing for intermediate
  187.                               and final results. 
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.         ZYAC Version 1.2 Users Guide                               Page 4
  200.  
  201.  
  202.         Z100       IBM-PC
  203.         KEY        KEY        FUNCTION
  204.         ====       ======     ========
  205.  
  206.         HOME       ~          Change sign operator (+/-).  The HOME key
  207.         ~                     on the Z100 keypad and the '~' key on the
  208.                               keyboard may be used for change sign
  209.                               operations.  The '~' key on the IBM-PC is
  210.                               the only valid key for change sign
  211.                               operations.  This is used to change the
  212.                               sign of a number or its exponent part.
  213.                               When this key is hit a positive number will
  214.                               be changed to negative, and a negative
  215.                               number will be changed to positive.  If the
  216.                               current number is positive and completely
  217.                               fills the numeric window display (16 
  218.                               characters long), the sign will not be
  219.                               changed since the addition of the '-' would
  220.                               overflow the numeric window.  To change the
  221.                               sign of an exponent, 'E' or '-' must be the
  222.                               last character shown in the numeric window.
  223.                               Otherwise, the sign of the numeric part
  224.                               will be changed.  To change the sign of an
  225.                               existing exponent, delete the exponent up
  226.                               to the 'E' or '-', change the sign, then
  227.                               retype the exponent. 
  228.  
  229.         BACKSPC    BACKSPC    Deletes the last part of a number the user
  230.         DELETE     DELETE     has entered.  Hitting the BACKSPACE key or
  231.                               DELETE key for a result returned by ZYAC
  232.                               will clear the numeric window and leave a
  233.                               0 in the display.  For example, the user
  234.                               could enter 23.5, hit the BACKSPACE or
  235.                               DELETE twice and type 5 to change the
  236.                               number to 235.  However, if the user
  237.                               entered 200 + 35 =, ZYAC would return 235.
  238.                               Hitting a BACKSPACE or DELETE here would
  239.                               result in 0 being displayed.
  240.  
  241.         |          |          Reciprocal operator (1/x).  Takes the
  242.                               number in the numeric window and divides
  243.                               it into 1.  Returns the result to the
  244.                               numeric window.
  245.  
  246.         !          !          Factorial operator.  Returns the factorial
  247.                               of the number in the numeric window.
  248.                               Factorial is only valid for positive
  249.                               integers.  Entering a negative number for
  250.                               factorial will result in a 0.  If a
  251.                               positive real number is entered, the
  252.                               fractional part will be dropped and the
  253.                               factorial operation will be applied to the
  254.                               remaining integer part.  170! is about the
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.         ZYAC Version 1.2 Users Guide                               Page 5
  266.  
  267.  
  268.         Z100       IBM-PC
  269.         KEY        KEY        FUNCTION
  270.         ====       ======     ========
  271.  
  272.                               largest factorial that can be computed
  273.                               before the values begin to overflow.  If
  274.                               you attempt to find the factorial of a
  275.                               number larger than 170, "TOO BIG" will be
  276.                               displayed in the numeric window.
  277.  
  278.         >          >          Square operator.  Returns the square of the
  279.                               number displayed in the numeric window.
  280.  
  281.         <          <          Square root operator.  Returns the square
  282.                               root of the number displayed in the
  283.                               numeric window.  If you try to find the
  284.                               square root of a negative number, the
  285.                               message "NEGATIVE SQRT" will be displayed
  286.                               in the numeric window.
  287.  
  288.         ^          ^          Power operator (x raised to the y power).
  289.                               Returns 0 if both x and y are 0 or if y
  290.                               is negative and is not an integer.  Will
  291.                               return 1E300 if the result would overflow. 
  292.  
  293.         L          L          Log base 10 operator.  Returns the
  294.                               logarithm to the base 10 of the number
  295.                               displayed in the numeric window.  Returns 0
  296.                               if the number is 0 or negative.
  297.  
  298.         CTRL-L     CTRL-L     Natural log operator.  Returns the natural
  299.                               logarithm for the number displayed in the
  300.                               numeric window.  Returns 0 if the number is
  301.                               0 or negative.
  302.  
  303.         C          C          Cosine operator.  Returns the cosine of
  304.                               the number displayed in the numeric window,
  305.                               where the number represents degrees.
  306.  
  307.         CTRL-C     CTRL-C     Arc cosine operator.  Returns the inverse
  308.                               cosine of the number shown in the numeric
  309.                               window.  Results are returned in degrees.
  310.                               Returns 0 if the number is greater than
  311.                               1.0.
  312.  
  313.         S          S          Sine operator.  Returns the sine of the
  314.                               number displayed in the numeric window,
  315.                               where the number represents degrees.
  316.  
  317.         CTRL-S     CTRL-S     Arc sine operator.  Returns the inverse
  318.                               sine of the number shown in the numeric
  319.                               window.  Results are returned in degrees.
  320.                               Returns 0 if the number is greater than
  321.                               1.0.
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.         ZYAC Version 1.2 Users Guide                               Page 6
  332.  
  333.  
  334.         Z100       IBM-PC
  335.         KEY        KEY        FUNCTION
  336.         ====       ======     ========
  337.  
  338.         T          T          Tangent operator.  Returns the tangent of
  339.                               the number displayed in the numeric window,
  340.                               where the number represents degrees.
  341.                               Returns a number greater than 1E300 for
  342.                               numbers close to 90 degrees.
  343.  
  344.         CTRL-T     CTRL-T     Arc tangent operator.  Returns the inverse
  345.                               tangent of the number shown in the numeric
  346.                               window.  Results are returned in degrees.
  347.  
  348.         CTRL-E     CTRL-E     Exponential  operator.  Returns the
  349.                               exponential function of the number
  350.                               displayed in the numeric window, i.e., e
  351.                               raised to the power of the number being
  352.                               displayed.  Returns 1E300 if the result
  353.                               would be too big.
  354.  
  355.         P          P          Pi.  Returns the value of pi out to 8
  356.                               decimal places (3.14159265).
  357.  
  358.         F0         F10        Clear all operator (CLR).  Function key F0
  359.                               on the Z100 and F10 on the IBM-PC clears
  360.                               the numeric display to 0, and also clears
  361.                               the two memory registers (windows).
  362.  
  363.         F1         F1         Function 1 operator.  Function key F1
  364.                               performs the operation currently defined
  365.                               for F1.
  366.  
  367.         <SH>F1     <SH>F1     Define function 1 operator.  Shift
  368.                               function key F1 allows the user to program
  369.                               an operation for function key F1.  Use
  370.                               CTRL-X to end the definition.
  371.  
  372.         F2         F2         Function 2 operator.  Function key F2
  373.                               performs the operation currently defined
  374.                               for F2.
  375.  
  376.         <SH>F2     <SH>F2     Define function 2 operator.  Shift
  377.                               function key F2 allows the user to program
  378.                               an operation for function key F2.  Use
  379.                               CTRL-X to end the definition.
  380.  
  381.         F3         F3         Store memory 1 operator.  Function key F3
  382.                               stores the current number displayed in the
  383.                               numeric window into memory register 1.
  384.                               The stored value is shown in the memory 1
  385.                               window.
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.         ZYAC Version 1.2 Users Guide                               Page 7
  398.  
  399.  
  400.         Z100       IBM-PC
  401.         KEY        KEY        FUNCTION
  402.         ====       ======     ========
  403.  
  404.         <SH>F3     <SH>F3     Recall memory 1 operator.  Shift function
  405.                               key F3 recalls the value stored in memory
  406.                               register 1.  The returned number is then
  407.                               displayed in the numeric window.
  408.  
  409.         F4         F4         Store memory 2 operator.  Function key F4
  410.                               stores the current number displayed in the
  411.                               numeric window into memory register 2.
  412.                               The stored value is shown in the memory 2
  413.                               window.
  414.  
  415.         <SH>F4     <SH>F4     Recall memory 2 operator.  Shift function
  416.                               key F4 recalls the value stored in memory
  417.                               register 2.  The returned number is then
  418.                               displayed in the numeric window.
  419.  
  420.         F5         F5         Clear numeric window only operator (CE).
  421.                               Function key F5 clears the numeric window
  422.                               only, and sets it to 0.  The memory
  423.                               registers are left unchanged.
  424.  
  425.         ?          ?          Next menu operator.  Displays the next
  426.                               menu in the menu window.
  427.  
  428.         HELP, H    H          Help operator.  Displays a brief message
  429.                               about ZYAC in the menu window.  (Really
  430.                               not much help, but it does refer the user
  431.                               to this document.)  Use the HELP key or
  432.                               the H key on a Z100 for help, use the H
  433.                               key only on an IBM-PC for help.
  434.  
  435.         CTRL-X     CTRL-X     Exit operator.  Exits the ZYAC program.
  436.                               If values are stored in the memory
  437.                               registers, or functions defined for F1
  438.                               and F2, ZYAC will ask if you want to save
  439.                               the memory registers and functions in a
  440.                               file before exiting.
  441.  
  442.          
  443.         DEFINING FUNCTIONS
  444.  
  445.              ZYAC  allows  you to program functions for function keys  F1 
  446.         and  F2.   You do this by typing shift F1 or shift F2.   At  that 
  447.         point,  you  may  enter  ZYAC commands as  if  you  were  working 
  448.         interactively.   The  key strokes will be displayed at the bottom 
  449.         of  the screen.   When you have finished entering  the  function, 
  450.         type  CTRL-X.   The  function  will  then  be  displayed  in  the 
  451.         appropriate function window.
  452.  
  453.              Functions  are  only allowed to be 68 characters long  (this 
  454.         includes  the space between operators and operands  automatically 
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.         ZYAC Version 1.2 Users Guide                               Page 8
  464.  
  465.  
  466.         supplied by ZYAC).   If you wish the value in the numeric  window 
  467.         to  be  used in the function,  type 'N' at the appropriate  place 
  468.         during the function definition.   'NW' will be displayed  (stands 
  469.         for numeric window).   For example,  to define function F1 to add 
  470.         100  to the numeric display and then divide by 7 you would  enter 
  471.         shift F1, followed by 'N', '+', '10', '/', '7', '=', CTRL-X.  The 
  472.         F1 window would display 'NW + 10 / 7 ='.  Then, each time you hit 
  473.         the  F1 key,  the defined function would be applied on the  value 
  474.         currently  in the numeric window.   By the way,  if your  defined 
  475.         function  is too long for its display window,  only as much of it 
  476.         as possible will be shown. 
  477.  
  478.              The  BACKSPACE and DELETE keys may be used  during  function 
  479.         definitions  to  make  corrections before you  type  the  CTRL-X.  
  480.         These  keys will either delete an entire operator or one digit at 
  481.         a  time,  depending on the last entry in the definition  (whether 
  482.         it's  a number or an operator).   To delete a  defined  function, 
  483.         simply  begin  the  function definition and type  CTRL-X  (you're 
  484.         defining nothing this way).
  485.  
  486.              One  final  note on functions,  they cannot  perform  memory 
  487.         stores or other function calls.   They can,  however,  do  memory 
  488.         recalls.
  489.  
  490.         SAVE FILES
  491.  
  492.              If   you  have  a  specific  function  or  number  you   use 
  493.         frequently,  you can store it in a save file.  Then, ZYAC will be 
  494.         able to initialize its memory registers and function keys (F1 and 
  495.         F2) to the information in that file the next time you use ZYAC.
  496.  
  497.              To  create such a file,  simply use an editor like  WordStar 
  498.         and create a file with a '.ZYC' extension.   To initialize memory 
  499.         1 enter 'M1:  ' in the file, followed by the number to initialize 
  500.         memory  1  by.   For example,  to initialize memory 1 to  2.88976 
  501.         enter the following line in the file:
  502.  
  503.              M1: 2.88976
  504.  
  505.         Memory  2  may be initialized the same way,  except  use  'M2:  ' 
  506.         instead of 'M1: '. 
  507.  
  508.              Defining function keys F1 and F2 is similar.   Start with  a 
  509.         line containing 'F1:  ' or 'F2: '.  Then type in a function using 
  510.         numbers and ZYAC commands.  When entering commands in a file this 
  511.         way,  you  need  to  type in the corresponding  acronym  for  the 
  512.         command.  These are listed below.
  513.  
  514.         OPERATION          ACRONYM
  515.         =========          =======
  516.  
  517.         addition              +
  518.         subtraction           -
  519.         multiplication        *
  520.         division              /
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.         ZYAC Version 1.2 Users Guide                               Page 9
  530.  
  531.  
  532.         OPERATION          ACRONYM
  533.         =========          =======
  534.  
  535.         sign change           ~
  536.         equals                =
  537.         reciprocal            |
  538.         factorial             !
  539.         percent               %
  540.         square                >
  541.         square root           <
  542.         power                 ^
  543.         pi                   PI
  544.         numeric window       NW
  545.         natural log          LN
  546.         exponential func.    XP
  547.         log base 10         LOG
  548.         cosine              COS
  549.         sine                SIN
  550.         tangent             TAN
  551.         inverse cosine     ACOS
  552.         inverse sine       ASIN
  553.         inverse tangent    ATAN
  554.         recall memory 1     1RC
  555.         recall memory 2     2RC
  556.  
  557.              For example, to define function key F1 to cube the number in 
  558.         the numeric display,  divide the result by pi,  and then take the 
  559.         natural  log,  you  would type a line like the following  in  the 
  560.         file:
  561.  
  562.              F1: NW ^ 3 / PI = LN
  563.  
  564.         Notice  that  you must separate the numbers and operators  by  at 
  565.         least  one  space.   If you want a certain number in  a  function 
  566.         definition to be negative,  you must use the '~' operator.  A '-' 
  567.         by itself will be taken as a subtraction operation.  For example, 
  568.         to  multiply  -23.109 by the numeric window value,  the  function 
  569.         defintion would look like
  570.  
  571.              F1:  NW * 23.109 ~ =
  572.  
  573.         The '~' will change the sign of 23.109 before the multiplication.  
  574.         The  one  place where a negative sign is valid is  in  scientific 
  575.         notatation.  You can enter a number like 2.88741E-5.  
  576.  
  577.              Once  you have created your save file,  you can use it  with 
  578.         ZYAC.   Typing  ZYAC followed by a space and the filename  causes 
  579.         ZYAC  to initialize the memory registers and function keys to the 
  580.         values/definitions  in  that  file.   For  example,  to  use  the 
  581.         information supplied with the example save file,  EXAMP.ZYC, type 
  582.         ZYAC  EXAMP at the DOS prompt.   You can type out  the  EXAMP.ZYC 
  583.         file to see an example of a save file.   By the way,  function F1 
  584.         in  the  example file converts Fahrenheit temperatures  to  their 
  585.         Celsius equivalents.
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.         ZYAC Version 1.2 Users Guide                               Page 10
  596.  
  597.  
  598.              If  you  have saved values in memory registers  and/or  have 
  599.         defined functions F1 or F2 while using ZYAC, you will be asked if 
  600.         you  want to save the memory contents and functions upon  exiting 
  601.         ZYAC.   If  you answer yes,  ZYAC will prompt for a filename  and 
  602.         save the memory values and functions in that file.
  603.  
  604.         PROGRAM HISTORY
  605.  
  606.         8 Sep 1985  - Version 1.0.   Initial release of ZYAC.   This 
  607.                       version for the Z100 only.
  608.  
  609.         12 Sep 1985 - Version 1.1.   Corrected bug in factorial function.  
  610.                       Earlier version would attempt to find factorial of
  611.                       any number, even those larger than 170.
  612.  
  613.         17 Feb 1987 - Version 1.2.  Version for IBM-PC's created.  Writes
  614.                       to the screen for the Z100 version now faster under
  615.                       MS-DOS 2.x.
  616.  
  617.  
  618.              I'm  open  to any comments or suggestions anyone might  have 
  619.         after using this program.
  620.  
  621.                                                      Gregory Elder
  622.                                                      710 Sykes Cir.
  623.                                                      WPAFB, OH 45433
  624.  
  625.              
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.