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