Unit Calculator

This unit is the component for a four functions calculator. It is free. You may use it as you may see fits. Just don't blame for ANY thing if some thing goes wrong. Just install and drop onto a form. You got instance calculator. Written by Leng Vang. lvang@mail.mrsars.usda.gov If you find it useful, please drop me a note.

Classes

TCalculator -
TNumInp - numinp component

Functions

Register -

Types

TAlignment
TDataType
TNumericType
TOperator

Constants

Variables


Functions


procedure Register;


Types


TAlignment = (taLeftJustify, taRightJustify);

TDataType = (dtByte, dtDouble, dtExtended, dtInteger,
               dtLongint, dtReal, dtShortint, dtSingle, dtWord);

TNumericType = (ntGeneral, ntExponent, ntFixed, ntNumber, ntCurrency);

TOperator = (opNONE,opAddition,opSubtraction,opMultiplication,opDivision);

Constants


Variables