**********************************************************************
Author: TMS Software
        Copyright  1998-1999
        E-mail: info@tmssoftware.com
        Web: http://www.tmssoftware.com
**********************************************************************

Delphi 3.0/4.0/5.0 & C++Builder 3.0/4.0/5.0


Files :
-----
  calced3.zip : component files for Delphi 3.0
  calced4.zip : component files for Delphi 4.0
  calced5.zip : component files for Delphi 5.0
  calcec3.zip : component files for C++Builder 3.0
  calcec4.zip : component files for C++Builder 4.0
  calcec5.zip : component files for C++Builder 5.0
  demo.zip    : Delphi 3,4,5 demo
  
Release 1.0 :
-------------
  Edit & label control with built-in formula interpreter
  that can solve formulas with variables and references to
  other edit controls and have linked updates.

Feature Revision history :
------------------------

  28/7/2000  : first release


Installation :
--------------

 In Delphi 3,4,5 or C++Builder 3,4,5

 Unzip files calcedx or calcecx into a component directory

 - Install components,

 - Install into new package (or existing package)

 - Browse for (new) package file

 - Add calcereg.pas


TCalcEdit & TCalcLabel help
---------------------------

Formulas can contain variable references, edit and label component 
references, constants and single parameter functions. The result of the
calculated value is displayed in the control with the formatting taken from the
ResultFormat string property.

Variable references :
Up to 99 variables are available in the formulas as V0, V1, ... V99
The variables can be accessed through the component Variable
property : ie. CalcEdit.Variable[1]:=1.25;

Compenent references :
A formula can contain a reference to a component and this is done by the
component name. If an edit component is named TAX and another edit component 
is named PRICE, the formula can simply reference : PRICE+(PRICE*TAX/100)

Constants : 
Following constants are available : PI, E

Single parameter functions :
ABS(parameter) : absolute value
ROUND(parameter) : rounds value
TRUNC(parameter) : truncates value
FRAC(parameter) : returns fractional part of value
FACT(parameter) : factioral of value
INT(parameter) : int part of value
SIN(parameter) : sine of value
COS(parameter) : cosine of value
TAN(parameter) : tangens of value
COTAN(parameter) : cotangens of value
SINH(parameter) : hyperbolic sine of value
COSH(parameter) : hyperbolic cosine of value
TANH(parameter) : hyperbolic tangens of value
COTANH(parameter) : hyperbolic cotangens of value
ASIN(parameter) : arcsin of value
ACOS(parameter) : arccos of value
ATAN(parameter) : arctangens of value
ACOTAN(parameter) : arccotangens of value
LN(parameter) : natural logarithm of value
LOG2(parameter) : base 2 logarithm of value
LOG10(parameter) : base 10 logarithm of value
EXP(parameter) : exponential of value
RAND(parameter) : random between 0 and value
RADIANS(parameter) : converts degrees to radians
DEGREES(parameter) : converts radians to degrees
SQR(parameter) : square of value
SQRT(parameter) : square root of value
CUBE(parameter) : cubic square of value
CHS(parameter) : change sign

Date & Time functions : 
HOUR(parameter) : gets the hour from a cell containing a valid time string
MIN(parameter) : gets the minute from a cell containing a valid time string
SECOND(parameter) : gets the second from a cell containing a valid time 
string
DAY(parameter) : gets the day from a cell containing a valid time string
MONTH(parameter) : gets the month from a cell containing a valid time string
YEAR(parameter) : gets the year from a cell containing a valid time string
WEEKDAY(parameter) : gets the day of the week from a cell containing a 
valid time string
TODAY : gets the current day
NOW : gets the current time


Usage :
-------
 This component is freeware for non-commercial applications.
 License for commercial use is equivalent to buying source code,
 and is available for $30. Licensed users get source code updates
 for all 1.x versions. Send cheque or cash for $30 to address above
 and source code will be sent by email immediately upon receipt.
 If you would like to register TCalcEdit online, you can do the
 registration at http://www.shareit.com/programs/103312.htm.
 Alternatively, you can go to http://www.shareit.com and enter
 the program number there: 103312. Since the online registration
 for a TMS basic component is valid for several TMS components,
 do not forget to request TCalcEdit by email as well via
 info@tmssoftware.com


Help, hints, tips, bug reports :
------------------------------
 Send any remarks to : help@tmssoftware.com
 Please clearly state which Delphi or C++Builder version you are using
 and which version of the component you are using. In case of doubt,
 download the latest version first at http://www.tmssoftware.com


