From: Neil Carlson <[log in to unmask]>
Date: Sunday, 3 July 2011 0:03
>On Sat, Jul 2, 2011 at 3:00 AM, robin <[log in to unmask]> wrote:
>
>> From: Neil Carlson <[log in to unmask]>
>> To: [log in to unmask] <[log in to unmask]>
>> Date: Saturday, 2 July 2011 7:49
>>
>>
>> >I'd like to do unformatted stream input from stdin -- the preconnected
>> >input_unit
>> >on the Fortran side -- but I need to change the characteristics of the
>> >connection
>> >and nothing I've tried has worked.
>>
>> What have you tried?
>open(unit=input_unit,access='stream',form='unformatted')
You cannot specify "unformatted" for standard input.
It makes no sense.
Unformatted requires a binary unit for the start of a record, and also for the
end of the record.
|