Google
 

Trailing-Edge - PDP-10 Archives - decuslib10-01 - 43,50110/demin.bnk
There are 2 other files named demin.bnk in the archive. Click here to see a list.
10  NAME--DEMINST
20 
30  DESCRIPTION--INSTRUCTIONS FOR USING THE PROGRAM, DEMAND.
40 
50  SOURCE--REVISED 8/8/69 BY J. ROKUS
60 
70  THIS PROGRAM WAS WRITTEN FOR STUDENT USE AT AMOS TUCK SCHOOL
71  OF HANOVER, N.H. WHICH DOES NOT ASSUME RESPONSIBILITY FOR
72  ITS ACCURACY.
80 
90  * * * * * * * * * * * * MAIN PROGRAM * * * * * * * * * * * 
95 
100     INSTRUCTIONS FOR THE USE OF DEMAND***
110 
120     THE DEMAND*** PROGRAM COMPUTES THE INTEREST DUE, THE TOTAL
130 INTEREST DUE, THE OUTSTANDING BALANCE AND THE TOTAL OUTSTANDING
140 BALANCE FOR ALL DEMAND LOANS.  THIS INFORMATION IS PRINTED IN A
150 FORMAT WHICH THE BANK CAN USE TO BILL ITS CUSTOMERS. AN OPTION
160 IS PROVIDED WHICH PRINTS ONLY THE TOTAL INTEREST DUE AND THE
170 OUTSTANDING BALANCE.  IF THE DATA FOR EACH LOAN WERE STORED IN 
180 DATA FILES, THE PROGRAM COULD BE MODIFIED TO UPDATE THESE DATA
190 AT THE END OF EACH QUARTER.
200 
210     DATA FOR EACH DEMAND LOAN ARE ENTERED BY MEANS OF DATA STATE-
220 MENTS STARTING IN LINE 2600 BY TYPING (1) THE LINE NUMBER, (2) THE
230 WORD "DATA", AND (3) THE DATA WHICH GO INTO THAT LINE.  ALL
240 PIECES OF DATA MUST BE SEPARATED BY COMMAS.  THE FORMAT FOR THE
250 LINES FOR EACH DEMAND LOAN IS AS FOLLOWS:
260 
270     1. FIRST LINE: ENTER THE ACCOUNT NUMBER.
280 
290     2. SECOND LINE: ENTER THE NAME OF THE CUSTOMER.  IF THE 
300 NAME CONTAINS A COMMA SUCH AS BEFORE "JR", THE ENTIRE NAME SHOULD
310 BE ENCLOSED IN QUOTES.
320 
330     3. THIRD LINE: ENTER STREET ADDRESS OF CUSTOMER.  IF THERE
340 IS NO STREET ADDRESS, A SPACE ENCLOSED IN QUOTES SHOULD BE 
350 ENTERED.  IF THE STREET ADDRESS BEGINS WITH A NUMBER OR CONTAINS 
360 A COMMA, IT SHOULD BE IN QUOTES.
370 
380     4. FOURTH LINE: ENTER THE CITY, STATE AND ZIP CODE.  IF A 
390 COMMA APPEARS ANYWHERE IN THE LINE, THE LINE SHOULD BE IN QUOTES.
400 
410     5. FIFTH LINE: ENTER THE DATE FROM WHICH INTEREST IS BEING 
420 COMPUTED.  THE FORMAT FOR ALL DATES IN DATA STATEMENTS IS 
430 DESCRIBED BELOW.  IF INTEREST IS BEING COMPUTED FROM THE BEGINNING
440 OF THE QUARTER, A ZERO MAY BE ENTERED IN THIS LINE. 
450 
460     6. SIXTH LINE: ENTER THE INITIAL BALANCE AND THE INITIAL
470 INTEREST RATE.  THE BALANCE SHOULD BE ENTERED WITHOUT COMMAS
480 OR DOLLAR SIGN.  THUS  85,000.50 WOULD BE ENTERED AS
490 85000.50.  THE RATE SHOULD BE ENTERED WITHOUT A PER CENT
500 SIGN AND WITH FRACTIONAL PARTS REPRESENTED AS DECIMALS.
510 THUS 6 1/2% IS TYPED AS 6.5.  THE BALANCE AND THE RATE
520 SHOULD BE SEPARATED BY A COMMA.
530 
540     7. STARTING ON THE SEVENTH LINE AND USING AS MANY LINES
550 AS ARE NECESSARY, ENTER THE PAYMENTS AND RATE CHANGES.  EACH
560 LINE CONTAINS THREE NUMBERS: FIRST, THE DATE WRITTEN IN THE
570 FORMAT GIVEN BELOW FOLLOWED BY A COMMA; SECOND, THE AMOUNT
580 OF THE PAYMENT (ZERO IF THE LINE IS BEING USED AS A RATE
590 CHANGE LINE) FOLLOWED BY A COMMA; AND THIRD, THE NEW INTEREST
600 RATE (ZERO IF THE LINE IS BEING USED AS A PAYMENT LINE).
610 
620     8. ENTER A SINGLE ZERO ON THE LINE FOLLOWING THE LAST
630 PAYMENT.  THIS ZERO SERVES TO SEPARATE THE INFORMATION FOR
640 ONE ACCOUNT FROM THAT OF ANOTHER ACCOUNT.
650 
660     9. ENTER "0,END" ON THE VERY LAST LINE OF DATA.
670 
680 
690     THE HEADING AND FORMAT OF THE STATEMENT MAY BE ALTERED
700 AS FOLLOWS.  TO VARY THE NUMBER OF SPACES BETWEEN THE HEADING
710 AND THE NAME, BETWEEN THE NAME AND THE STATEMENT, AND BETWEEN
720 THE STATEMENT AND THE INTEREST DUE LINE, CHANGE THE THREE
730 NUMBERS IN LINE 2500.  ENTER THE DATE TO WHICH INTEREST IS 
740 BEING COMPUTED IN LINE 2490.  IN LINE 2520 ENTER THE NAME
750 OF THE BANK.  FINALLY, FOR A LEAP YEAR, THE NUMBER OF DAYS
760 IN THE MONTH OF FEBRUARY MAY BE CHANGED FROM 28 TO 29 BY
770 CHANGING LINE 2510.
780 
790     ALL DATES MUST BE ENTERED AS A SINGLE FIVE OR SIX DIGIT
800 NUMBER CONTAINING NO SPACES, SLASHES, OR ANY CHARACTERS BUT
810 NUMBERS.  THE FIRST DIGIT (OR THE FIRST TWO DIGITS IN THE
820 CASE OF OCTOBER, NOVEMBER, OR DECEMBER) DENOTES THE MONTH,
830 THE NEXT TWO DIGITS DENOTE THE DAY AND THE LAST TWO THE YEAR.
840 FOR EXAMPLE, MAY 3, 1969, BECOMES 50369, AND NOVEMBER 22, 1969
850 BECOMES 112269.  NOTE THAT IF THE DAY IS LESS THAN 10, A
860 LEADING ZERO FOR THE DAY MUST BE INCLUDED.
870 
880     THE FOLLOWING IS AN EXAMPLE OF HOW DATA SHOULD BE ENTERED
890 AND A DESCRIPTION OF THESE ENTRIES:
900 
910     2490 DATA 70168
920     2500 DATA 3,3,3
930     2510 DATA 31,28,31,30,31,30,31,31,30,31,30,31
940     2520 DATA DARTMOUTH NATIONAL BANK
950     2600 DATA 1111
960     2601 DATA WILLIAM SMITH
970     2602 DATA "34 LEBANON STREET"
980     2603 DATA "HANOVER,N.H. 03555"
990     2604 DATA 0
1000    2605 DATA 8000,7.75
1010    2606 DATA 60168,0,8
1020    2607 DATA 60668,50,8
1030    2608 DATA 62068,100,8.5
1040    2609 DATA 0
1050    2610 DATA 0,END
1060 
1070       LINE                DESCRIPTION
1080  
1090       2490       DATE TO WHICH INTEREST IS BEING COMPUTED
1100       2520       NAME OF BANK
1110       2600       ACCOUNT NUMBER FOR THE FIRST DEMAND LOAN
1120       2601       NAME OF BORROWER
1130       2602       STREET ADDRESS OF BORROWER
1140       2603       CITY, STATE, AND ZIP CODE OF BORROWER
1150       2604       THE STARTING DATE FROM WHICH THE INTEREST
1160                  IS TO BE COMPUTED.  SINCE THIS STARTING
1170                  DATE WAS THE BEGINNING OF THE QUARTER OR
1180                  4-1-68, A ZERO WAS ENTERED.
1190       2605       INITIAL BALANCE OF $8000 AND THE INITIAL
1200                  INTEREST RATE OF 7.75%.
1210       2606       INTEREST RATE CHANGE FROM 7.75% TO 8% ON
1220                  6-1-68
1230       2607       A PAYMENT OF $50 ON 6-6-68
1240       2608       A PAYMENT OF $100 AND AN INTEREST RATE
1250                  CHANGE FROM 8% TO 8.5% ON 6-20-68
1260       2609       A ZERO TO INDICATE THAT ALL DATA FOR THIS
1270                  ACCOUNT HAVE BEEN ENTERED.  IF A STATEMENT
1280                  FOR ANOTHER ACCOUNT WERE DESIRED, THE
1290                  DATA FOR THIS ACCOUNT WOULD HAVE BEEN
1300                  ENTERED STARTING AFTER THIS LINE.
1310       2610       THE ENTRY "0,END" INDICATES THAT ALL DATA
1320                  HAVE BEEN ENTERED SINCE MR. SMITH S 
1330                  ACCOUNT IS THE ONLY ONE FOR WHICH A
1340                  STATEMENT WAS DESIRED.