Category : BASIC Source Code
Archive   : MATHWZ10.ZIP
Filename : MATHWIZ.REF

 
Output of file : MATHWIZ.REF contained in archive : MATHWZ10.ZIP
The Math Wizard's Library for BASIC
Quick Reference



BCDAbs$ (Nr$)
Takes the absolute value of a BCD number.

BCDAdd$ (Nr1$, Nr2$)
Adds two BCD numbers.

BCDCompare% (Nr1$, Nr2$)
Compares two BCD numbers. Result is -1 if Nr1$ < Nr2$, 0 if equal, 1 if >.

BCDCos$ (Nr$)
Returns the cosine of the specified angle (in radians).

BCDCot$ (Nr$)
Returns the cotangent of the specified angle (in radians).

BCDCsc$ (Nr$)
Returns the cosecant of the specified angle (in radians).

BCDDeg2Rad$ (Nr$)
Converts an angle from degrees to in radians.

BCDDiv$ (Nr1$, Nr2$)
Divides the 1st BCD number by the 2nd. Returns "" if 2nd number is zero.

BCDe$
The constant "e" (base of the natural logarithms).

BCDFact$ (NumInt%)
Calculates the factorial of the specified integer.

BCDFormat$ (Nr$, HowToFormat%, RightDigits%)
Converts a BCD number to a numeric string in the desired format.

BCDGetSize LeftDigits%, RightDigits%
Gets the maximum size of a BCD number.

BCDMul$ (Nr1$, Nr2$)
Multiplies two BCD numbers.

BCDpi$
The constant "pi".

BCDRad2Deg$ (Nr$)
Converts an angle from in radians to degrees.

BCDSec$ (Nr$)
Returns the secant of the specified angle (in radians).

BCDSet$ (NumSt$)
Converts a numeric string into a BCD number.

BCDSetSize LeftDigits%, RightDigits%
Sets the maximum size of a BCD number. The left side must be at least 2.

BCDSgn% (Nr$)
BCD signum: returns -1 if number is negative, 0 if 0, 1 if positive.

BCDSin$ (Nr$)
Returns the sine of the specified angle (in radians).

BCDSqr$ (Nr$)
Returns the square root of the specified number.

BCDSub$ (Nr1$, Nr2$)
Subtracts the second BCD number from the first BCD number.

BCDTan$ (Nr$)
Returns the tangent of the specified angle (in radians).

Cent2Fahr! (Nr!)
Converts centigrade (Celsius) to Fahrenheit.

CotD# (Nr#)
Return the cotangent of the specified angle (in radians).

CotS! (Nr!)
Return the cotangent of the specified angle (in radians).

CscD# (Nr#)
Return the cosecant of the specified angle (in radians).

CscS! (Nr!)
Return the cosecant of the specified angle (in radians).

Deg2RadD# (Nr#)
Converts from degrees to radians.

Deg2RadS! (Nr!)
Converts from degrees to radians.

ED#
The constant "e" (base of the natural logarithms).

ES!
The constant "e" (base of the natural logarithms).

FactD# (Num%)
Calculates the factorial of the specified integer.

FactS! (Num%)
Calculates the factorial of the specified integer.

Fahr2Cent! (Nr!)
Converts Fahrenheit to centigrade (Celsius).

FracAbs$ (Nr$)
Returns the absolute value of a fraction.

FracAdd$ (Nr1$, Nr2$)
Adds two fractions.

FracCompare% (Nr1$, Nr2$)
Compares two fractions. Result is -1 if Nr1$ < Nr2$, 0 if equal, 1 if >.

FracDiv$ (Nr1$, Nr2$)
Divides the first fraction by the second.

FracFormat$ (Nr$, HowToFormat%, RightDigits%)

Converts a fraction to a numeric string in the desired format.

FracMul$ (Nr1$, Nr2$)
Multiplies two fractions.

FracNeg$ (Nr$)
Negates a fraction.

FracSet$ (NumSt$)
Converts a numeric string into a fraction.

FracSgn% (Nr$)
Fraction signum: returns -1 if number is negative, 0 if 0, 1 if positive.

FracSub$ (Nr1$, Nr2$)
Subtracts the second fraction from the first.

Kg2Pound! (Nr!)
Converts kilograms to pounds.

PiD#
The constant "pi".

PiS!
The constant "pi".

Pound2Kg! (Nr!)
Converts pounds to kilograms.

Rad2DegD# (Nr#)
Converts from radians to degrees.

Rad2DegS! (Nr!)
Converts from radians to degrees.

SecD# (Nr#)
Return the secant of the specified angle (in radians).

SecS! (Nr!)
Return the secant of the specified angle (in radians).


  3 Responses to “Category : BASIC Source Code
Archive   : MATHWZ10.ZIP
Filename : MATHWIZ.REF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/