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