home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1995 March / SOFM_Mar1995.bin / pc / os2 / polyc / polycalc.hlp (.txt) < prev   
OS/2 Help File  |  1995-01-27  |  31KB  |  917 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. About PolyCalc ΓòÉΓòÉΓòÉ
  3.  
  4.  PolyCalc is a shareware calculator program for OS/2 2.x and above.  Its main 
  5.  features are: 
  6.  
  7.  o A powerful feature set for programmers and engineers 
  8.  
  9.  o Separate entry and display modes to ease number conversions 
  10.  
  11.  o Autoscaled button text to allow the calculator to have any size 
  12.  
  13.  o True super and subscripting for natural look to text 
  14.  
  15.  o User customizable font and color set 
  16.  
  17.  o Use of an INI file to save all user settings 
  18.  
  19.  
  20. ΓòÉΓòÉΓòÉ 1.1. Copyright ΓòÉΓòÉΓòÉ
  21.  
  22.  Copyright 1994, Graduate Software 
  23.  
  24.  This program is the intellectual property of Graduate Software.  You are given 
  25.  the right to use this program on one or more computers.  You are also given 
  26.  the right to copy this program and distribute it to other users so long as you 
  27.  do not also distribute the INI file created after you register the program. 
  28.  The INI file contains your registration information, and therefore, it is 
  29.  traceable back to you. 
  30.  
  31.  
  32. ΓòÉΓòÉΓòÉ 1.2. Why Shareware? ΓòÉΓòÉΓòÉ
  33.  
  34.  PolyCalc was developed by me, Mike Thompson of Graduate Software.  I developed 
  35.  PolyCalc to fill a void in the OS/2 32-bit application market. I chose to 
  36.  market PolyCalc as shareware because it is my first venture into programming 
  37.  for a horizontal market.  Up to this point, I have only developed vertical 
  38.  market applications under contract.  The success of this shareware venture 
  39.  will help determine whether or not other horizontal market applications are 
  40.  released.  Your registration is important in helping me to make that decision. 
  41.  
  42.  
  43. ΓòÉΓòÉΓòÉ 1.3. How to Register ΓòÉΓòÉΓòÉ
  44.  
  45.  PolyCalc is distributed as shareware, though some may call it crippleware 
  46.  because I have disabled saving to the INI file until the program has been 
  47.  registered. 
  48.  
  49.  In order to become a registered user, you must send $15.00 (plus 5% sales tax 
  50.  if you are a resident of Ohio) to the following address: 
  51.  
  52.    Graduate Software 
  53.    PolyCalc Registration 
  54.    P.O. Box 36147 
  55.    Canton, OH 44735-6147 
  56.  
  57.  Please make your check payable to "Graduate Software". 
  58.  
  59.  In order to process your registration, a user name is required.  Also, a 
  60.  postal, Compuserve, or Internet address is required so that I can send you the 
  61.  registration key that matches your user name.  Your user name and key must be 
  62.  entered in the registration dialog in order to complete the registration 
  63.  process.  Once this is done, your user INI file will be created and all 
  64.  features of the program will be enabled. 
  65.  
  66.  The simplest way to provide me with the information I require is to print this 
  67.  help page by pressing the "Print" push button and fill out the following form. 
  68.  Include this form with your payment and I'll do the rest! 
  69.  
  70.  User Name:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  71.  
  72.                  (case is sensitive) 
  73.  
  74.  Address:   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  75.  
  76.         _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  77.  
  78.         _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  79.  
  80.  Phone:    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  81.  
  82.  Compuserve:  _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  83.  
  84.  Internet:   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  85.  
  86.  
  87. ΓòÉΓòÉΓòÉ 1.4. Reporting Bugs ΓòÉΓòÉΓòÉ
  88.  
  89.  The accuracy of this program is not guaranteed in any way by Graduate 
  90.  Software.  All attempts have been made to remove programming and computational 
  91.  errors prior to release.  Bug fixes may be released periodically and will not 
  92.  require re-registration.  Bug reports and other comments can be sent via 
  93.  e-mail to Mike Thompson at Compuserve address:  76500,2037. 
  94.  
  95.  
  96. ΓòÉΓòÉΓòÉ 2. Entry Modes ΓòÉΓòÉΓòÉ
  97.  
  98.  By providing separate entry and display modes, PolyCalc allows the user to 
  99.  enter numbers in one mode and view them in another.  This is very useful when 
  100.  doing conversions between number bases.  For example, by setting the entry 
  101.  mode to decimal and the display mode to hexadecimal, you can perform decimal 
  102.  to hexadecimal conversions by simply typing in the number and pressing the 
  103.  equals key (or ENTER). 
  104.  
  105.  The following entry modes are provided by PolyCalc: 
  106.  
  107.    Decimal 
  108.    Time 
  109.    Angle 
  110.    Feet-Inches 
  111.    Binary 
  112.    Octal 
  113.    Hexadecimal 
  114.  
  115.  
  116. ΓòÉΓòÉΓòÉ 2.1. Decimal Entry Mode ΓòÉΓòÉΓòÉ
  117.  
  118.  In this mode, the number you enter will be interpreted as a decimal number. 
  119.  You can use the "EE" button (or press "E") to enter the number in exponential 
  120.  notation.  You can also use the comma key to enter a fraction in addition to 
  121.  the main entry.  For example, you can type "3,5,8" and then press ENTER.  If 
  122.  the display mode is decimal, you should see the number 3.625 since that is 
  123.  equivalent to 3-5/8. 
  124.  
  125.  
  126. ΓòÉΓòÉΓòÉ 2.2. Time Entry Mode ΓòÉΓòÉΓòÉ
  127.  
  128.  In this mode, the number you enter will be interpreted as hours. You can enter 
  129.  minutes and seconds by pressing the comma key.  For example, you can type 
  130.  "3,45,22" and then press ENTER.  If the display mode is decimal, you should 
  131.  see the number 3.7561111111 since that is equivalent to 3 hours, 45 minutes, 
  132.  and 22 seconds. 
  133.  
  134.  
  135. ΓòÉΓòÉΓòÉ 2.3. Angle Entry Mode ΓòÉΓòÉΓòÉ
  136.  
  137.  In this mode, the number you enter will be interpreted as degrees. You can 
  138.  enter minutes and seconds by pressing the comma key.  For example, you can 
  139.  type "3,45,22" and then press ENTER.  If the display mode is decimal, you 
  140.  should see the number 3.7561111111 since that is equivalent to 3 degrees, 45 
  141.  minutes, and 22 seconds. 
  142.  
  143.  
  144. ΓòÉΓòÉΓòÉ 2.4. Feet-Inches Entry Mode ΓòÉΓòÉΓòÉ
  145.  
  146.  In this mode, the number you enter will be interpreted as feet.  You can enter 
  147.  inches and fractions of an inch by pressing the comma key.  For example, you 
  148.  can type "3,8,3,4" and then press ENTER.  If the display mode is decimal, you 
  149.  should see the number 3.7291666667 since that is equivalent to 3 feet, 8-3/4 
  150.  inches. 
  151.  
  152.  
  153. ΓòÉΓòÉΓòÉ 2.5. Binary Entry Mode ΓòÉΓòÉΓòÉ
  154.  
  155.  In this mode, the number you enter will be interpreted as a 32 bit binary 
  156.  number.  For example, you can type "100100" and then press ENTER.  If the 
  157.  display mode is decimal, you should see the number 36 since that is the 
  158.  decimal equivalent of 100100 base 2. 
  159.  
  160.  Values which evaluate to more than 32 bits will generate an error. 
  161.  
  162.  
  163. ΓòÉΓòÉΓòÉ 2.6. Octal Entry Mode ΓòÉΓòÉΓòÉ
  164.  
  165.  In this mode, the number you enter will be interpreted as a 32 bit octal 
  166.  number.  For example, you can type "20372" and then press ENTER.  If the 
  167.  display mode is decimal, you should see the number 8442 since that is the 
  168.  decimal equivalent of 20372 base 8. 
  169.  
  170.  Values which evaluate to more than 32 bits will generate an error. 
  171.  
  172.  
  173. ΓòÉΓòÉΓòÉ 2.7. Hexadecimal Entry Mode ΓòÉΓòÉΓòÉ
  174.  
  175.  In this mode, the number you enter will be interpreted as a 32 bit hexadecimal 
  176.  number.  For example, you can type "3F428" and then press ENTER.  If the 
  177.  display mode is decimal, you should see the number 259112 since that is the 
  178.  decimal equivalent of 3F428 base 16. 
  179.  
  180.  Values which evaluate to more than 32 bits will generate an error. 
  181.  
  182.  
  183. ΓòÉΓòÉΓòÉ 3. Display Modes ΓòÉΓòÉΓòÉ
  184.  
  185.  By providing separate entry and display modes, PolyCalc allows the user to 
  186.  enter numbers in one mode and view them in another.  This is very useful when 
  187.  doing conversions between number bases.  For example, by setting the entry 
  188.  mode to decimal and the display mode to hexadecimal, you can perform decimal 
  189.  to hexadecimal conversions by simply typing in the number and pressing the 
  190.  equals key (or ENTER). 
  191.  
  192.  The following display modes are supported by PolyCalc: 
  193.  
  194.    Decimal 
  195.    Fixed 
  196.    Scientific 
  197.    Engineering 
  198.    Comma 
  199.    Currency 
  200.    Time 
  201.    Angle 
  202.    Feet-Inches 
  203.    Fraction 
  204.    Binary and Padded Binary 
  205.    Octal and Padded Octal 
  206.    Hexadecimal and Padded Hex 
  207.    Segment:Offset 
  208.    IEEE Double 
  209.  
  210.  
  211. ΓòÉΓòÉΓòÉ 3.1. Decimal Display Mode ΓòÉΓòÉΓòÉ
  212.  
  213.  In this mode, the value displayed will be presented with up to twelve decimal 
  214.  places of precision.  Trailing zeroes are removed, and values with magnitudes 
  215.  less than 1e-9 or greater than 1e15 will be displayed in scientific notation. 
  216.  This is similar to the "General" format used in many spreadsheets. 
  217.  
  218.  
  219. ΓòÉΓòÉΓòÉ 3.2. Fixed Display Mode ΓòÉΓòÉΓòÉ
  220.  
  221.  In this mode, the value displayed will be presented with a fixed number of 
  222.  decimal places.  The number of decimal places can be changed by pressing the 
  223.  .xxxx button.  Values with magnitudes greater than 1e15 will be displayed in 
  224.  scientific notation. 
  225.  
  226.  
  227. ΓòÉΓòÉΓòÉ 3.3. Scientific Display Mode ΓòÉΓòÉΓòÉ
  228.  
  229.  In this mode, the value displayed will be presented such that the order of 
  230.  magnitude is removed from the value and displayed as an exponent following the 
  231.  "e".  This guarantees that the absolute value of the number presented will be 
  232.  greater than or equal to one and less than ten. This is a very useful display 
  233.  mode when working with numbers whose magnitudes are very small or very large. 
  234.  As with fixed notation, the number of decimal places can be changed by 
  235.  pressing the .xxxx button. 
  236.  
  237.  
  238. ΓòÉΓòÉΓòÉ 3.4. Engineering Display Mode ΓòÉΓòÉΓòÉ
  239.  
  240.  In this mode, the value displayed is presented with the order of magnitude 
  241.  removed as it is in scientific display mode, however, the order of magnitude 
  242.  is based upon powers of 1000 instead of powers of 10.  This means that the 
  243.  exponent will always be a multiple of 3 (1e3=1000). This display mode is very 
  244.  useful if you are working with a unit system which uses the standard 
  245.  engineering prefixes kilo, mega, milli, micro, etc.  As with fixed and 
  246.  scientific notation, the number of decimal places can be changed by pressing 
  247.  the .xxxx button. 
  248.  
  249.  
  250. ΓòÉΓòÉΓòÉ 3.5. Comma Display Mode ΓòÉΓòÉΓòÉ
  251.  
  252.  In this mode, the value displayed is formatted as it is in decimal display 
  253.  mode except that commas are added to help identify thousands, millions, 
  254.  billions, etc.  Commas are not added on the right side of the decimal point 
  255.  and they are not added if the value is displayed in scientific notation 
  256.  because its magnitude is too small or too large for normal display. 
  257.  
  258.  
  259. ΓòÉΓòÉΓòÉ 3.6. Currency Display Mode ΓòÉΓòÉΓòÉ
  260.  
  261.  In this mode, the value displayed is formatted as it is in comma display mode 
  262.  except that a leading dollar sign is added and the number of decimal places is 
  263.  fixed to two digits.  Also, negative values are shown with parentheses as 
  264.  opposed to a leading minus sign. 
  265.  
  266.  
  267. ΓòÉΓòÉΓòÉ 3.7. Time Display Mode ΓòÉΓòÉΓòÉ
  268.  
  269.  In this mode, the value displayed is formatted as hours, minutes, and seconds. 
  270.  A value of 3.5 is interpreted as 3-1/2 hours, or 3:30:00.  Values with 
  271.  magnitudes greater than 1e15 will be displayed in scientific notation. 
  272.  
  273.  
  274. ΓòÉΓòÉΓòÉ 3.8. Angle Display Mode ΓòÉΓòÉΓòÉ
  275.  
  276.  In this mode, the value displayed is formatted as degrees, minutes, and 
  277.  seconds.  A value of 3.5 is interpreted as 3-1/2 degrees, or 3┬░30'00". Values 
  278.  with magnitudes greater than 1e15 will be displayed in scientific notation. 
  279.  
  280.  
  281. ΓòÉΓòÉΓòÉ 3.9. Feet-Inches Display Mode ΓòÉΓòÉΓòÉ
  282.  
  283.  In this mode, the value displayed is formatted as feet and inches.  A value of 
  284.  3.5 is interpreted as 3-1/2 feet, or 3'6".  Fractions of an inch are displayed 
  285.  to the nearest 64th of an inch.  Values with magnitudes greater than 1e15 will 
  286.  be displayed in scientific notation. 
  287.  
  288.  
  289. ΓòÉΓòÉΓòÉ 3.10. Fraction Display Mode ΓòÉΓòÉΓòÉ
  290.  
  291.  In this mode, the value displayed is formatted as integer and fractional 
  292.  components.  The fractional component is displayed as a ratio of two integers. 
  293.  PolyCalc chooses the closest ratio with a denominator no greater than 1000. 
  294.  Values with magnitudes greater than 1e15 will be displayed in scientific 
  295.  notation. 
  296.  
  297.  
  298. ΓòÉΓòÉΓòÉ 3.11. Binary and Padded Binary Display Modes ΓòÉΓòÉΓòÉ
  299.  
  300.  In these modes, the value displayed is formatted as a binary number.  Only the 
  301.  first 32 bits of the integer portion of the value are used, so 3.5 and 3.0 
  302.  both format to 11 base 2.  The high order bits of values greater than 2^32 are 
  303.  discarded for display purposes. 
  304.  
  305.  In padded binary mode, leading zeroes are added to make the value 32 binary 
  306.  digits wide. 
  307.  
  308.  
  309. ΓòÉΓòÉΓòÉ 3.12. Octal and Padded Octal Display Modes ΓòÉΓòÉΓòÉ
  310.  
  311.  In these modes, the value displayed is formatted as an octal number.  Only the 
  312.  first 32 bits of the integer portion of the value are used, so 25.5 and 25.0 
  313.  both format to 31 base 8.  The high order bits of values greater than 2^32 are 
  314.  discarded for display purposes. 
  315.  
  316.  In padded octal mode, leading zeroes are added to make the value 11 octal 
  317.  digits wide. 
  318.  
  319.  
  320. ΓòÉΓòÉΓòÉ 3.13. Hexadecimal and Padded Hex Display Modes ΓòÉΓòÉΓòÉ
  321.  
  322.  In these modes, the value displayed is formatted as a hexadecimal number. 
  323.  Only the first 32 bits of the integer portion of the value are used, so 27.5 
  324.  and 27.0 both format to 1B base 16.  The high order bits of values greater 
  325.  than 2^32 are discarded for display purposes. 
  326.  
  327.  In padded hex mode, leading zeroes are added to make the value 8 hex digits 
  328.  wide. 
  329.  
  330.  
  331. ΓòÉΓòÉΓòÉ 3.14. Segment:Offset Display Mode ΓòÉΓòÉΓòÉ
  332.  
  333.  In this mode, the value displayed is formatted as a padded hexadecimal number, 
  334.  but the high order four digits are separated from the low order four digits by 
  335.  a colon. 
  336.  
  337.  
  338. ΓòÉΓòÉΓòÉ 3.15. IEEE Double Display Mode ΓòÉΓòÉΓòÉ
  339.  
  340.  In this mode, the value displayed is formatted as a padded hexadecimal number 
  341.  which is the internal representation used by the Intel 80x87 family of math 
  342.  coprocessors. 
  343.  
  344.  
  345. ΓòÉΓòÉΓòÉ 4. Customization ΓòÉΓòÉΓòÉ
  346.  
  347.  PolyCalc is customizable in many ways to meet your specific preferences.  The 
  348.  font, colors, window size, window position, and default modes and settings are 
  349.  all stored in the associated INI file.  When PolyCalc is started, the current 
  350.  settings are read from the INI file and used by PolyCalc.  When PolyCalc is 
  351.  closed, any changes to these preferences are automatically saved back to the 
  352.  INI file.  Automatic saving to the INI file can be overridden with the /nosave 
  353.  command line option.  Refer to Command Line Options. 
  354.  
  355.    Changing Font 
  356.    Changing Colors 
  357.    Changing Window Size / Position 
  358.  
  359.  
  360. ΓòÉΓòÉΓòÉ 4.1. Changing Font ΓòÉΓòÉΓòÉ
  361.  
  362.  In order to change the font that PolyCalc uses, open the Font Palette 
  363.  application and drag the desired font onto the PolyCalc window.  Only ATM 
  364.  fonts are supported.  PolyCalc requires ATM fonts so that the text can be 
  365.  scaled to the window size.  Also, the point size of the dragged font is not 
  366.  important since PolyCalc will scale the text to match the window size. 
  367.  Finally, only one font is used for the entire application.  Separate fonts are 
  368.  not supported for button groups and other controls.  The new font will be 
  369.  stored in the INI file when PolyCalc is closed (provided it wasn't started 
  370.  with the /nosave option). 
  371.  
  372.  
  373. ΓòÉΓòÉΓòÉ 4.2. Changing Colors ΓòÉΓòÉΓòÉ
  374.  
  375.  In order to change the colors used by PolyCalc, open the Color Palette 
  376.  application and drag the desired color onto the PolyCalc window.  PolyCalc 
  377.  supports several different color groups listed below.  All of the color groups 
  378.  support both foreground and background colors except the client color which is 
  379.  background only.  To drag and drop a foreground color, you must hold down the 
  380.  CTRL key while dragging the color.  The new colors will be stored in the INI 
  381.  file when PolyCalc is closed (provided it wasn't started with the /nosave 
  382.  option). 
  383.  
  384.  Client Window 
  385.  
  386.  Mode Buttons 
  387.  
  388.     Entry, Display, .xxxx, and Angle 
  389.  
  390.  Special Function Buttons 
  391.  
  392.     Help, Store, Recall, Reset, Clear, Copy, Paste, User1, and User2 
  393.  
  394.  Digit Buttons 
  395.  
  396.     0 through 9 
  397.  
  398.  Hex Digit Buttons 
  399.  
  400.     A through F 
  401.  
  402.  Standard Operator Buttons 
  403.  
  404.     +, -, x, ╨Ä, ╤æ, =, ╤â, %, EE, and  
  405.  
  406.  Logical Operator Buttons 
  407.  
  408.     And, Or, Xor, Nand, Nor, and Not 
  409.  
  410.  Trig Function Buttons 
  411.  
  412.     sin, cos, tan, and their inverses 
  413.  
  414.  Power Function Buttons 
  415.  
  416.     ln, log, e^x, 10^x, x^y, and x^(1/y) 
  417.  
  418.  Misc Function Buttons 
  419.  
  420.     x^2, sqrt, 1/x, int, frac, and mod 
  421.  
  422.  Register Buttons 
  423.  
  424.     Colors used for registers which contain a value.  In order to change these 
  425.     colors, you must first store a value in a register and then drop the colors 
  426.     on the register which has been filled. 
  427.  
  428.  Operation Button 
  429.  
  430.     Colors used for buttons which show a pending operation.  In order to change 
  431.     these colors, you must first start an operation (example:  3 +) and then 
  432.     drop the colors on the operation button which is pending (in this case, the 
  433.     + button). 
  434.  
  435.  Entry and Parentheses Fields 
  436.  
  437.     These fields belong to the same color group. 
  438.  
  439.  Status Field 
  440.  
  441.     This is the field at the bottom used to display error messages. 
  442.  
  443.  Mode Text Fields 
  444.  
  445.     These are the text fields next to the mode buttons. 
  446.  
  447.  
  448. ΓòÉΓòÉΓòÉ 4.3. Changing Window Size / Position ΓòÉΓòÉΓòÉ
  449.  
  450.  PolyCalc can be resized to any size using the sizing border and it can be 
  451.  moved anywhere on the desktop using the title bar.  The new size and position 
  452.  will be stored in the INI file when PolyCalc is closed (provided it wasn't 
  453.  started with the /nosave option). 
  454.  
  455.  
  456. ΓòÉΓòÉΓòÉ 5. Command Line Options ΓòÉΓòÉΓòÉ
  457.  
  458.  The following command line options are supported by PolyCalc: 
  459.  
  460.  /min 
  461.  
  462.     Start PolyCalc in a minimized state. 
  463.  
  464.  /max 
  465.  
  466.     Start PolyCalc in a maximized state. 
  467.  
  468.  /nosave 
  469.  
  470.     Disable the automatic INI save feature.  Changes to the user settings will 
  471.     no longer be written to the INI file when PolyCalc is closed. 
  472.  
  473.  INI filename 
  474.  
  475.     Specify an alternate INI filename.  The default INI filename is the same as 
  476.     the executable name with a .INI extension instead of a .EXE extension. The 
  477.     default INI filename can be overridden to allow different program objects 
  478.     to start up PolyCalc using different user preferences. 
  479.  
  480.  
  481. ΓòÉΓòÉΓòÉ 6. Using Registers ΓòÉΓòÉΓòÉ
  482.  
  483.  PolyCalc provides the user with sixteen registers for saving values used 
  484.  during calculations.  The registers are saved in the INI file, so the values 
  485.  persist even after the program is restarted. 
  486.  
  487.  To save the current entry in a register, press the "Store" button followed by 
  488.  one of the register buttons (0-9 or A-F).  To later recall the value stored, 
  489.  press the "Recall" button followed by the desired register button.  You will 
  490.  notice that the color of the register button may change to indicate that it 
  491.  contains a value.  In order to clear a register, press the "Clear" button, 
  492.  followed by "Store", and finally, the button of the register to be cleared. 
  493.  
  494.  
  495. ΓòÉΓòÉΓòÉ 7. Button Descriptions ΓòÉΓòÉΓòÉ
  496.  
  497.  Entry  (F2 and Shift-F2) 
  498.  
  499.     This button allows the entry mode to be toggled.  You can press either the 
  500.     left or right mouse buttons to toggle through the entry modes supported by 
  501.     PolyCalc.  The left mouse button moves forward through the list and the 
  502.     right mouse button moves backward through the list. 
  503.  
  504.  Display  (F3 and Shift-F3) 
  505.  
  506.     This button allows the display mode to be toggled.  You can press either 
  507.     the left or right mouse buttons to toggle through the display modes 
  508.     supported by PolyCalc.  The left mouse button moves forward through the 
  509.     list and the right mouse button moves backward through the list. 
  510.  
  511.  Angle  (F4 and Shift-F4) 
  512.  
  513.     This button allows the angle mode to be toggled.  You can press either the 
  514.     left or right mouse buttons to toggle through the angle modes supported by 
  515.     PolyCalc.  The left mouse button moves forward through the list and the 
  516.     right mouse button moves backward through the list.  The angle modes define 
  517.     how the trigonometric functions treat angles:  Degrees, Radians, or 
  518.     Gradians. 
  519.  
  520.  .xxxx  ("<" and ">") 
  521.  
  522.     This button allows the number of decimal places to be changed.  You can 
  523.     press either the left or right mouse buttons to change the number of 
  524.     decimal places.  The left mouse button increases the number of decimal 
  525.     places and the right mouse button decreases the number of decimal places. 
  526.     The only display modes that use the decimal place setting are:  Fixed, 
  527.     Scientific, and Engineering. 
  528.  
  529.  Help  (F1) 
  530.  
  531.     This button activates the help subsystem. 
  532.  
  533.  Store  (Page Down) 
  534.  
  535.     This button initiates a "store into register" operation.  You must press 
  536.     one of the register buttons (0-9 or A-F) to complete the store operation. 
  537.     You can press "Store" again, or you can press "Clear" to cancel the store 
  538.     operation. 
  539.  
  540.  Recall  (Page Up) 
  541.  
  542.     This button initiates a "recall from register" operation.  You must press 
  543.     one of the register buttons (0-9 or A-F) to complete the recall operation. 
  544.     You can press "Recall" again, or you can press "Clear" to cancel the recall 
  545.     operation. 
  546.  
  547.  Reset  (Esc) 
  548.  
  549.     This button is similar to ALL CLEAR on some calculators.  It clears the 
  550.     current entry AND all pending operations including nested parentheses. 
  551.  
  552.  Clear  (Ctrl-Backspace) 
  553.  
  554.     This button clears the current entry without affecting pending operations. 
  555.  
  556.  Copy  (Del) 
  557.  
  558.     This button copies the current entry to the clipboard. 
  559.  
  560.  Paste  (Ins) 
  561.  
  562.     This button pastes the clipboard contents into the entry field and 
  563.     evaluates it using the current entry mode. 
  564.  
  565.  User1 
  566.  
  567.     This button is currently undefined.  It may have some use in a future 
  568.     version of PolyCalc. 
  569.  
  570.  User2 
  571.  
  572.     This button is currently undefined.  It may have some use in a future 
  573.     version of PolyCalc. 
  574.  
  575.  0 through 9 and A through F 
  576.  
  577.     These buttons are used for entry of numbers.  They are also used as 
  578.     registers where values can be stored for later use in calculations. 
  579.  
  580.  .  (".") 
  581.  
  582.     This button is used to separate integer and fractional components in 
  583.     decimal entry mode. 
  584.  
  585.  ,  (",") 
  586.  
  587.     This button is used to separate different components in certain entry 
  588.     modes.  Entry modes which allow the comma are:  Decimal, Time, Angle, and 
  589.     Feet-Inches. 
  590.  
  591.  EE  ("e") 
  592.  
  593.     This button is used in decimal mode to enter the exponent (power of ten) by 
  594.     which the value is to be multiplied.  An "e" will be displayed and the 
  595.     exponent, when entered, will appear superscripted to the right of the "e". 
  596.  
  597.    (Backspace) 
  598.  
  599.     This button is used to backspace over the entered value to remove the last 
  600.     digit that was entered.  This can be repeated as often as necessary until 
  601.     the entry is again clear. 
  602.  
  603.  %  ("%") 
  604.  
  605.     This button is used to perform the percent operation.  This can be used to 
  606.     figure tax or a discount by using it in place of the equals during an add 
  607.     or subtract operation.  For example, 3+5% will generate 3.15 and 3-5% will 
  608.     generate 2.85.  By using it with the multiplication and division operators, 
  609.     you can use it to figure other percent problems.  For example, 3*5% will 
  610.     generate .15 since .15 is 5% of 3.  3/5% will generate 60 since 3 is 5% of 
  611.     60.  Finally, you can use the % operator standalone to convert a number 
  612.     into a percentage.  5% will generate .05 since 5% is equal to 5/100 or .05. 
  613.  
  614.  ╤â  ("#") 
  615.  
  616.     This button is used to enter the value for the constant pi. 
  617.  
  618.  ()  ("(" and ")") 
  619.  
  620.     These buttons are used to parenthesize an operation so that it takes 
  621.     precedence over whatever operation is pending.  The nesting level is shown 
  622.     in the status box to the right of the number display. 
  623.  
  624.  x  ("*") 
  625.  
  626.     This button initiates a multiplication operation. 
  627.  
  628.  ╨Ä  ("/") 
  629.  
  630.     This button initiates a division operation. 
  631.  
  632.  +  ("+") 
  633.  
  634.     This button initiates an addition operation. 
  635.  
  636.  -  ("-") 
  637.  
  638.     This button initiates a subtraction operation. 
  639.  
  640.  ╤æ  ("`") 
  641.  
  642.     This button negates the current value. 
  643.  
  644.  =  ("=" or Enter) 
  645.  
  646.     This button completes whatever operations are pending, however, it will not 
  647.     automatically close parentheses. 
  648.  
  649.  sin,sin^(-1)  ("s" and Shift-"s") 
  650.  
  651.     These buttons compute the sine and inverse sine of the the value in the 
  652.     display.  Angles are assumed to be in the selected angle units. 
  653.  
  654.  cos,cos^(-1)  ("c" and Shift-"c") 
  655.  
  656.     These buttons compute the cosine and inverse cosine of the the value in the 
  657.     display.  Angles are assumed to be in the selected angle units. 
  658.  
  659.  tan,tan^(-1)  ("t" and Shift-"t") 
  660.  
  661.     These buttons compute the tangent and inverse tangent of the the value in 
  662.     the display.  Angles are assumed to be in the selected angle units. 
  663.  
  664.  10^x,log  ("p" and Shift-"p") 
  665.  
  666.     These buttons compute 10 raised to the value in the display and the log of 
  667.     the value in the display.  The log function can also be computed by 
  668.     pressing the "l" key. 
  669.  
  670.  e^x,ln  ("x" and Shift-"x") 
  671.  
  672.     These buttons compute e raised to the value in the display and the natural 
  673.     log of the value in the display.  The natural log function can also be 
  674.     computed by pressing the "n" key. 
  675.  
  676.  x^y,x^(1/y)  ("y" and Shift-"y") 
  677.  
  678.     These buttons take the current value in the display and raise it to the 
  679.     value which is yet to be entered or the reciprocal of that value.  The x^y 
  680.     operation can also be computed by pressing the "^" key. 
  681.  
  682.  int,frac  ("i" and "f") 
  683.  
  684.     These buttons take either the integer or fractional components of the value 
  685.     in the display. 
  686.  
  687.  mod  ("m") 
  688.  
  689.     This button is used to perform the modulo operation on the value in the 
  690.     display using the value which is yet to be entered as in x mod y. 
  691.  
  692.  1/x  ("v") 
  693.  
  694.     This button is used to take the reciprocal of the current value. 
  695.  
  696.  x^2,sqrt  ("q" and Shift-"q") 
  697.  
  698.     These buttons are used to square the value in the display or take its 
  699.     square root.  The square root function can also be computed by pressing the 
  700.     "r" key. 
  701.  
  702.  And,Or,Nand,Nor,Xor  ("&", "|", "@", "!", and "\") 
  703.  
  704.     These buttons initiate the indicated logical operations.  All logical 
  705.     operations are carried out on the low order 32 bits of the integer of the 
  706.     value in the display.  All other bits are lost. 
  707.  
  708.  Not  ("~") 
  709.  
  710.     This button performs a bitwise not operation on the value in the display. 
  711.     Only the low order 32 bits of the integer of the value are used. All other 
  712.     bits are lost. 
  713.  
  714.  
  715. ΓòÉΓòÉΓòÉ 8. INI File Contents ΓòÉΓòÉΓòÉ
  716.  
  717.  PolyCalc saves all of the user preferences in its associated INI file.  This 
  718.  INI file can be viewed or modified using an INI file editor.  You are 
  719.  encouraged to make a backup copy of the INI file before making any changes 
  720.  since changing the contents of the INI file could make PolyCalc inoperable. 
  721.  
  722.  All of the settings saved in the INI file belong to one of the following data 
  723.  types: 
  724.  
  725.  oCOLOR 
  726.  
  727.     This type of variable is used to specify a 24 bit color value. It is four 
  728.     bytes long.  The first byte specifies the amount of blue (0-255). The 
  729.     second byte specifies the amount of green (0-255).  The third byte 
  730.     specifies the amount of red (0-255).  The fourth byte must be zero. 
  731.  
  732.  oINTEGER 
  733.  
  734.     This type of variable is used to specify a four byte integer value.  The 
  735.     integer is saved with the low order byte first. 
  736.  
  737.  oDOUBLE 
  738.  
  739.     This type of variable is used to specify a double precision floating point 
  740.     value.  It is saved in the 80x87 format with the low order byte first. 
  741.  
  742.  oSTRING 
  743.  
  744.     This type of variable is used to specify a character string.  All character 
  745.     strings include a trailing null character used to terminate the string. 
  746.  
  747.  The following list presents all of the settings saved in the INI file.  The 
  748.  list shows the INI entries as XXX-YYY where XXX is the "application" name and 
  749.  YYY is the "key" name.  The data type is listed in parentheses. 
  750.  
  751.  Border-X  (INTEGER) 
  752.  Border-Y  (INTEGER) 
  753.  
  754.     These values specify the number of pixels to use for the highlight border 
  755.     used on the buttons and entry fields.  For high resolution displays, you 
  756.     may wish to make the border two, or even three, pixels wide. 
  757.  
  758.  Colors-ButtonF  (COLOR) 
  759.  Colors-ButtonB  (COLOR) 
  760.  
  761.     These values specify the foreground and background colors to use for any 
  762.     button which doesn't belong to a standard button group.  At the current 
  763.     time, all buttons belong to standard button groups so these settings have 
  764.     no effect on PolyCalc. 
  765.  
  766.  Colors-Client  (COLOR) 
  767.  
  768.     This value specifies the client window color. 
  769.  
  770.  Colors-EntryF  (COLOR) 
  771.  Colors-EntryB  (COLOR) 
  772.  
  773.     These values specify the foreground and background colors to use for the 
  774.     entry and parentheses level fields. 
  775.  
  776.  Colors-StatusF  (COLOR) 
  777.  Colors-StatusB  (COLOR) 
  778.  
  779.     These values specify the foreground and background colors to use for the 
  780.     status field. 
  781.  
  782.  Colors-DigitF  (COLOR) 
  783.  Colors-DigitB  (COLOR) 
  784.  
  785.     These values specify the foreground and background colors to use for the 
  786.     digit buttons 0-9, decimal point, and comma. 
  787.  
  788.  Colors-HexDigitF  (COLOR) 
  789.  Colors-HexDigitB  (COLOR) 
  790.  
  791.     These values specify the foreground and background colors to use for the 
  792.     hex digit buttons A-F. 
  793.  
  794.  Colors-OperatorF  (COLOR) 
  795.  Colors-OperatorB  (COLOR) 
  796.  
  797.     These values specify the foreground and background colors to use for the 
  798.     standard operator buttons (+, -, x, ...). 
  799.  
  800.  Colors-LogicalF  (COLOR) 
  801.  Colors-LogicalB  (COLOR) 
  802.  
  803.     These values specify the foreground and background colors to use for the 
  804.     logical operation buttons (And, Or, Xor, ...). 
  805.  
  806.  Colors-MiscF  (COLOR) 
  807.  Colors-MiscB  (COLOR) 
  808.  
  809.     These values specify the foreground and background colors to use for the 
  810.     miscellaneous function buttons (1/x, x^2, int, frac, ...). 
  811.  
  812.  Colors-PowerF  (COLOR) 
  813.  Colors-PowerB  (COLOR) 
  814.  
  815.     These values specify the foreground and background colors to use for the 
  816.     power function buttons (10^x, e^x, log, ...). 
  817.  
  818.  Colors-TrigF  (COLOR) 
  819.  Colors-TrigB  (COLOR) 
  820.  
  821.     These values specify the foreground and background colors to use for the 
  822.     trigonometric function buttons (sin, cos, tan, ...). 
  823.  
  824.  Colors-SpecialF  (COLOR) 
  825.  Colors-SpecialB  (COLOR) 
  826.  
  827.     These values specify the foreground and background colors to use for the 
  828.     special function buttons (Help, Store, Recall, ...). 
  829.  
  830.  Colors-ModeF  (COLOR) 
  831.  Colors-ModeB  (COLOR) 
  832.  
  833.     These values specify the foreground and background colors to use for the 
  834.     mode buttons (Entry, Display, Angle, .xxxx). 
  835.  
  836.  Colors-ModeTextF  (COLOR) 
  837.  Colors-ModeTextB  (COLOR) 
  838.  
  839.     These values specify the foreground and background colors to use for the 
  840.     mode text fields (Entry, Display, Angle). 
  841.  
  842.  Colors-RegisterF  (COLOR) 
  843.  Colors-RegisterB  (COLOR) 
  844.  
  845.     These values specify the foreground and background colors to use for the 
  846.     register buttons which contain stored values. 
  847.  
  848.  Colors-OperationF  (COLOR) 
  849.  Colors-OperationB  (COLOR) 
  850.  
  851.     These values specify the foreground and background colors to use for 
  852.     buttons which show pending operations. 
  853.  
  854.  Fonts-Font  (STRING) 
  855.  
  856.     This setting is the face name of the font PolyCalc uses for the buttons and 
  857.     fields.  The point size must not be specified. 
  858.  
  859.  Mode-Entry  (INTEGER) 
  860.  Mode-Display  (INTEGER) 
  861.  Mode-Angle  (INTEGER) 
  862.  
  863.     These settings are the modes PolyCalc defaults to at program startup. 
  864.  
  865.  Register-00 to 15  (DOUBLE) 
  866.  
  867.     These settings are the contents of the sixteen registers that PolyCalc will 
  868.     initialize at program startup. 
  869.  
  870.  Registration-UserName  (STRING) 
  871.  Registration-UserKey  (DOUBLE) 
  872.  
  873.     These settings contain the registration information which is saved once you 
  874.     become a registered user. 
  875.  
  876.  Settings-Decimals  (INTEGER) 
  877.  
  878.     This setting is the number of decimal places PolyCalc will use for Fixed, 
  879.     Scientific, and Engineering display modes. 
  880.  
  881.  Settings-FlashDelay  (INTEGER) 
  882.  
  883.     This setting is a CPU dependent count used to delay the flashing of buttons 
  884.     when a key is pressed.  The larger the value, the longer the delay.  The 
  885.     smaller the value, the shorter the delay.  A value of 0 will be no delay 
  886.     (other than the delay of performing the operation).  A value of -1 
  887.     (FFFFFFFF) will disable the button flash for keystroke entry.  This may be 
  888.     desirable on computers with very slow graphics displays. 
  889.  
  890.  Settings-HideStatus  (INTEGER) 
  891.  
  892.     This setting is used to specify that the status field be hidden.  Any 
  893.     non-zero value will cause the status field to be hidden.  A zero value will 
  894.     cause the status field to be displayed. 
  895.  
  896.  Settings-Timeout  (INTEGER) 
  897.  
  898.     This setting is used to specify the number of seconds of inactivity after 
  899.     which PolyCalc will minimize itself.  This setting may be useful if you 
  900.     like to have PolyCalc "disappear" when it's not being used. 
  901.  
  902.  Window-Height  (INTEGER) 
  903.  Window-Width  (INTEGER) 
  904.  Window-PosX  (INTEGER) 
  905.  Window-PosY  (INTEGER) 
  906.  
  907.     These settings contain the window size and position which PolyCalc will use 
  908.     at program startup. 
  909.  
  910.  
  911. ΓòÉΓòÉΓòÉ 9. Credits ΓòÉΓòÉΓòÉ
  912.  
  913.  A special thanks goes to Scott Courtney of Fourth Corner Systems for his help 
  914.  beta testing this program.  Scott is also responsible for suggesting the name 
  915.  PolyCalc since one future enhancement to this program may be a Morph button 
  916.  which will change the calculator into other formats such as:  Basic, 
  917.  Scientific, Programmer, Statistical, etc.