home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv6.zip
/
vac22os2
/
ibmcobol
/
samples
/
loan
/
helpdir
/
vbhelp.hlp
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1998-01-31
|
4KB
|
45 lines
ΓòÉΓòÉΓòÉ 1. Loan Help ΓòÉΓòÉΓòÉ
This sample illustrates using the VisualAge COBOL Millennium Language
Extensions.
Use this application to determine the monthly payments, total interest and the
year a loan is due. Enter the following:
Amount you want to borrow (example:10000)
Interest rate in per cents (example: 5)
Term for the loan in years (example: 10)
Then click on the Go Figure button.
Note: The year when the loan is due is determined using a two digit data item
with ACCEPT FROM DATE. The term of the loan is then added to that year.
The VisualAge COBOL Millennium Language Extension allows the date to be
correct past the year 2000.
ΓòÉΓòÉΓòÉ 2. Go Figure Button Help ΓòÉΓòÉΓòÉ
Click on the Go Figure button to compute the information for your loan.
ΓòÉΓòÉΓòÉ 3. Close Button Help ΓòÉΓòÉΓòÉ
Click on the Close button to close the window.
ΓòÉΓòÉΓòÉ <hidden> Message Help ΓòÉΓòÉΓòÉ
Check that you have entered valid information for your loan. Be sure that:
Amount you want to borrow is positive
Interest rate is between 1 and 25%
Term for the loan is between 1 and 30 years
Enter valid loan information and click on the Go Figure button again.