File EXPROG.FT (FORTRAN source file)

Directory of image this file is from
This file as a plain text file

C
C    PROGRAM TO FILTER OUT PRACTICE TYPE FIVE JUL-1-80
C        TOM MARGEVICIUS
C
C	FILE 7 IS INPUT
C	FILE 8 IS OUTPUT FILTERED
C	FILE 9 IS CORRECTED OUTPUT TO TAPE
	INTEGER INPUT(50,50)
	DATA IFIVE/'5'/
5	IFLAG=0
	CALL CHKEOF(I)
	READ(7,10)(INPUT(J,K),J=1,50),K=1,50)
10	FORMAT(50(1X,50A1,/))
	IF(I.NE.0)GO TO 999
	DO 20 J=1,50
	IF(INPUT(J,8).NE.IFIVE)GO TO 20
	WRITE(9,30)(INPUT(J,K),K=1,50)
30	FORMAT(1X,'PRACTICE 5-',50A1)
	IFLAG=1
20	CONTINUE
	IF(IFLAG.EQ.1)GO TO 40
	WRITE(8,50)(INPUT(J,K),J=1,50),K=1,50)
50	FORMAT(50(1X,50A1,/))
	GO TO 5
40	DO 60 J=1,50
	WRITE(8,50)(INPUT(J,K),K=1,50)
60	CONTINUE
	GO TO 5
999	STOP
	END



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search