Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : ADVANCED.ZIP
Filename : BUSPROCS.PRG

 
Output of file : BUSPROCS.PRG contained in archive : ADVANCED.ZIP
******************************************* BUSPROCS.PRG
*------------- Procedures for calculating financial data.

*------------------- FV procedure calculates future value.
PROCEDURE FV
PARAMETERS Payment,Interest,Term
FV = Payment * ((1+Interest)^Term-1)/Interest
RETURN

*------------- PMT procedure calculates payment on a loan.
PROCEDURE Pmt
PARAMETERS Principal, Interest, Term
PMT = Principal * Interest/(1-1/(1+Interest)^Term)
RETURN

*---- PV procedure calculates Present Value of an Annuity.
PROCEDURE PV
PARAMETERS Payment, Interest, Term
PV = Payment * (1-1/(1+Interest)^Term)/Interest
RETURN



  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : ADVANCED.ZIP
Filename : BUSPROCS.PRG

  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/