home *** CD-ROM | disk | FTP | other *** search
/ ftp.alaska-software.com / 2014.06.ftp.alaska-software.com.tar / ftp.alaska-software.com / acsn / BusiCalc_v1-50.txt < prev    next >
Text File  |  2003-07-15  |  5KB  |  144 lines

  1.  
  2. Project BusiCalc
  3. -----------------
  4.             BusiCalc-nnn.Zip Contents:
  5.             -------------------------
  6.  
  7. Requires:   Project  : BusiCalc.xpj
  8.             Class    : BusCalcCls.prg
  9.             Program  : BusiCalc.prg
  10.             Include  : BusiCalc.ch
  11.             Rates (*): BusiCalc.xch
  12.             Resource : BusiCalc.arc
  13.             ResFiles : Resource.zip
  14.             (All Icons,Bitmaps,Pointers)
  15.  
  16. Misc:       Blank_PB-BM.zip contains blank buttons. (In Resource.zip)
  17.             !ReadMe.txt   This file.
  18.  
  19. Creates:    (*) If not exist: BusiCalc.xch
  20.  
  21. Extract BusiCalc-nnn.zip contents to a directory.
  22. Extract Resource.zip (in BusiCalc-nnn.zip) to the same directory.
  23.  
  24. Compile  :  PBuild BusiCalc
  25. EXE      :  BusiCalc.exe
  26.  
  27. Requires: (NOT INCLUDED IN ZIPFILE)
  28. RunTime:    ASRDBC10.DLL
  29.             SOM.DLL
  30.             XPPNAT.DLL
  31.             XPPRT1.DLL
  32.             XPPUI1.DLL
  33.  
  34.  
  35. Designed for:
  36. 1024x768+ resolution. Is ok at lower, but bigger <g>...
  37.  
  38.  
  39. What it is:
  40. -----------
  41. A Business Calculator with the normal Operators of Add, Subtract,
  42. Multiply and Divide and also includes Reciprocal, Negate, Percent,
  43. Square, Square Root, nth. Power, nth. Root, Factorial, PI and
  44. Bracketed Operations.
  45.  
  46. Currency conversion for Dollars, Pounds and Euro, Memory store, Import
  47. and Export values, Set Decimals, Audit trail and Help file.
  48.  
  49. See the built in Help File for what the calculator can do and how it
  50. treats calculations, for example, bracketed operations.
  51.  
  52. You are free to modify this calculator as you wish but please retain the
  53. original copyright and disclaimer information found in the headers of
  54. Busicalc.prg and BusCalcCls.prg.
  55.  
  56. PNG FILES:  Because this program uses PNG files the addresses for these
  57. files have to be explicity stated in BusiCalc.arc.  To avoid difficulties
  58. in compilation all of the resource files have been placed in the same
  59. directory as the program code.   If you want to place them in your normal
  60. resource directory it will be necessary to provide the full path address
  61. for the PNG files in BusiCalc.arc.
  62.  
  63.  
  64. Can you change the currency buttons?
  65. --------------------------------------
  66. The answer is yes, and it is relatively simple, it is a text and bitmap
  67. change only.
  68.  
  69. For example, if you want to change the Pounds to Pesos and have a
  70. Peso-Euro-Dollar calculator all you need to do is search through the
  71. BusiCalc.prg and replace every occurance of the word 'Pound' with 'Peso'.
  72. Be Careful!! or you will replace Pound in XBP_PP_COMPOUNDNAME.
  73.  
  74. Having done that, just modify or create using the blank buttons supplied, new
  75. currency buttons with 'P' replacing the Pound symbol and the two bitmaps for
  76. screen display.
  77.  
  78. It is not necessary to make any other changes, other than the exchange rate!
  79. But verify that the text in the Help File is correct.
  80.  
  81.  
  82. Some Code Features:
  83. -------------------
  84. 1.  Using a moveable Window with no Titlebar.
  85. 2.  Using Bitmaps, Icons, Statics
  86. 3.  Using API DLL Functions
  87. 4.  Handling Mouse and Keyboard keystrokes.
  88. 5.  Accessing and using the Clipboard.
  89. 6.  Using a derived Window dialog Class and modal windows.
  90. 7.  Using FOpen,FWrite,FRead,FCreate etc. (No DBE).
  91. 8.  Using Arrays in normal and unconventional ways. (e.g. aBmps in help)
  92. 9.  Preventing a second instance of an Application.
  93. 10. Pseudo disable/enable buttons.
  94. 11. Minimises and 'Lives' at the Top Titlebar spot.
  95. 12. Extensive and pre-emptive error trapping.
  96.  
  97. Blank buttons are included lest you want to 'roll-your-own' flavour.
  98. (In BLANK_PB-BM.Zip in Resource.zip in BusiCalc.zip - Font 9.Arial)
  99.  
  100. Note that this calculator only requires a limited number of RT DLLs and
  101. they are listed in the header of BusiCalc.prg
  102.  
  103. Even if you do not want a calculator the code provides a good source
  104. of 'HowTo' do various things in Xbase++, that was the original challenge.
  105.  
  106.  
  107.  
  108. BusiCalc Background.
  109. ---------------------
  110. Originally written as an excercise in getting to grips with Xbase++ in
  111. a GUI/OOP environment, this project is one of three calculators that
  112. grew with my understanding and mastering the elements of the subject.
  113.  
  114. It represents a learning curve which all newcomers to Xbase++ more than
  115. likely have to climb, and as such, it answers a number of 'How-To'
  116. questions that arise from time to time.  So if you are a newbie and
  117. don't want a calculator, at least it is a reasonable source of how to
  118. achieve certain goals in programming with Xbase++, and may be of some
  119. assistance in that respect. It does not use a DBE nor does it use any
  120. SLEs or Gets and the code is fully commented (my memory is woeful).
  121.  
  122.  
  123. The Legal bit
  124. --------------
  125. Copyright (c) Greg J Doran. 2001-2003    GDO @ eircom.net
  126.  
  127. The code is released under the GNU General Public Licence and is
  128. governed by the conditions and protocols setout therein.
  129.  
  130. The code is provided "as is", without warranty of any kind, either
  131. expressed, or implied, including, but not limited to, the implied
  132. warranties of merchantability and fitness for a particular purpose.
  133. The entire risk as to the quality of the software, its use or misuse,
  134. modified or otherwise, lies with you, the recipient.
  135.  
  136. For details regarding the GNU General Public Licence visit Phil Ide's
  137. Xbase++ FAQ.s at:  http://www.idep.org.uk/xbase/xbfaq/xbfaq.htm
  138.  
  139.  
  140. Happy Programming.
  141. Greg Doran, Dublin Ireland. gdo @ eircom.net
  142.  
  143.  
  144.