home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / bcklib2.zip / APR.PRG < prev    next >
Text File  |  1993-01-16  |  983b  |  30 lines

  1. /*
  2.     The source code contained within this file is protected under the
  3.     laws of the United States of America and by International Treaty.
  4.     Unless otherwise noted, the source contained herein is:
  5.  
  6.     Copyright (c)1990, 1991, 1992 BecknerVision Inc - All Rights Reserved
  7.  
  8.     Written by John Wm Beckner        THIS NOTICE MUST NOT BE REMOVED
  9.     BecknerVision Inc
  10.     PO Box 11945                      DISTRIBUTE ONLY WITH SHAREWARE
  11.     Winston-Salem NC 27116            VERSION OF THIS PRODUCT.
  12.     Fax: 919/760-1003
  13.  
  14. */
  15.  
  16. #include "beckner.inc"
  17.  
  18. FUNCTION Main()
  19.    LOCAL nAF := 0.00, nPmt := 0.00, nNumPmts := 3, GetList := {}
  20.    CLS
  21.    @ 5, 1 SAY "Amount Financed ......" GET nAF PICTURE "999999.99"
  22.    @ 6, 1 SAY "Payment .............." GET nPmt PICTURE "999999.99"
  23.    @ 7, 1 SAY "# payments ..........." GET nNumPmts PICTURE "99"
  24.    READ
  25.    @ 10, 1 SAY "APR is "
  26.    DevOut(sMake(mAPR(nAF, nPmt, nNumPmts)))
  27.    DevOut("%")
  28.    QUIT
  29. ENDFUNCTION
  30.