generated from erosita/uds
maps
This commit is contained in:
20
data/allsky/inc/deletefile.f
Normal file
20
data/allsky/inc/deletefile.f
Normal file
@@ -0,0 +1,20 @@
|
||||
!c=========================================================================
|
||||
subroutine deletefile(filename,status)
|
||||
!c-------------------------------------------------------------------------
|
||||
!c delete fits file
|
||||
!c-------------------------------------------------------------------------
|
||||
implicit none
|
||||
integer status
|
||||
character*(*) filename
|
||||
|
||||
integer access,i,unlink
|
||||
|
||||
|
||||
|
||||
|
||||
if(access(filename,'w').eq.0) then
|
||||
i=unlink(filename)
|
||||
endif
|
||||
|
||||
return
|
||||
end
|
Reference in New Issue
Block a user