stdout access='STREAM'

N.M. Maclaren nmm1@cam.ac.uk
Sun Jun 7 09:54:00 GMT 2015


On Jun 6 2015, George Wyche wrote:
>
>I want to use 2003 fortran to replace the exceedingly easy to use 'printf
>("%s",mystring_converted_to_bytes)'.
>
>I have read and read and cannot figure out the above. Certainly, the
>various "guessing" tries I've done fail (and fail and fail).
>
> * is for whatever unit happens to be "standard out", i.e. my window 
> console.>
>Is it not already open as ACCESS='STREAM'? Is there some compiler switch
>needed so to otherwise be backwardly compatible?

No.  Nor should it be.  It's open for ACCESS='SEQUENTIAL'.  Use
ADVANCE='no' but, be warned, there are restrictions on that which may be
unobvious (and not always reasonable).

Regards,
Nick Maclaren.




More information about the Fortran mailing list