tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
|
|
@ -0,0 +1,12 @@
|
|||
! The "scratch" option opens a file exclusively for the current process.
|
||||
! A scratch file is automatically deleted upon process termination.
|
||||
|
||||
OPEN( FIle='TemporaryAndExclusive', SCRatch, IOStat=ErrNr)
|
||||
WRITE(FIle='TemporaryAndExclusive') "something"
|
||||
WRITE(FIle='TemporaryAndExclusive', CLoSe=1) ! explicit "close" deletes file
|
||||
|
||||
! Without "scratch" access can be controlled by "denyread", "denywrite", "denyreadwrite" options.
|
||||
|
||||
OPEN( FIle='DenyForOthers', DenyREAdWRIte, IOStat=ErrNr)
|
||||
WRITE(FIle='DenyForOthers') "something"
|
||||
WRITE(FIle='DenyForOthers', DELETE=1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue