2007-01-11 16:48:10 -05:00
|
|
|
!----------------------------------------------------- rfile3a
|
|
|
|
subroutine rfile3a(infile,ibuf,n,ierr)
|
|
|
|
|
2007-01-13 19:44:34 -05:00
|
|
|
character*(*) infile
|
2007-01-11 16:48:10 -05:00
|
|
|
integer*1 ibuf(n)
|
|
|
|
|
2007-12-21 13:40:47 -05:00
|
|
|
#ifdef CVF
|
2007-01-11 16:48:10 -05:00
|
|
|
open(10,file=infile,form='binary',status='old',err=998)
|
2007-12-21 13:40:47 -05:00
|
|
|
#else
|
|
|
|
open(10,file=infile,access='stream',status='old',err=998)
|
|
|
|
#endif
|
2007-01-11 16:48:10 -05:00
|
|
|
read(10,end=998) ibuf
|
|
|
|
ierr=0
|
|
|
|
go to 999
|
|
|
|
998 ierr=1002
|
2007-01-12 14:56:45 -05:00
|
|
|
999 close(10)
|
|
|
|
return
|
2007-01-11 16:48:10 -05:00
|
|
|
end subroutine rfile3a
|