simon
Joined: 05 Jul 2006 Posts: 270
|
Posted: Fri Mar 17, 2023 7:24 pm Post subject: FLUSH |
|
|
I've been asked to implement FLUSH into a program. FLUSH is a Fortran 2003 feature. I see that FTN95 already has FLUSH_FORTRAN_HANDLE@, which I think does the same thing. However, FLUSH_FORTRAN_HANDLE@ appears to require the file be opened using OPENRW@ or OPENF@, and I do not use those extensions, preferring to use OPEN for portability. In the interim, is there some way I can get the FLUSH_FORTRAN_HANDLE@ argument SID for a file opened with OPEN? Also, can FLUSH or FLUSH_FORTRAN_HANDLE@ be used for stdout? |
|