* format/variable-type mismatch error - Help
@ 1992-10-21 22:56 Jim Schafer
0 siblings, 0 replies; only message in thread
From: Jim Schafer @ 1992-10-21 22:56 UTC (permalink / raw)
I am running a Fortran application that internally uses an integer
array to do a write with a format statement that is defined at
run-time. The integer array may actually contain reals or integers.
The format statement is set up to correspond the actual types.
eg subroutine mywrit(iray,n,form)
character*(*) form
dimension iray(n)
write(6,form) (iray(i),i=1,n)
end
& call mywrit(real_array,20,'(6f10.3)')
or call mywrit(int_arry,27,'(5i10)')
or call mywrit(mixture,num,user_format)
are possible calls.
When I try to print floating point values with a floating point
format, it gives a fatal run-time error, as follows:
forrtl: severe: format/variable-type mismatch, unit 6, file /dev/ttyp7
This is exactly the same as the VAX format/variable-type mismatch
error (eg runtime error 61) that I am allowed to turn off.
Is there any way I can turn this error off on an ultrix system ?
--
J.E.(Jim) Schafer
jes@lmsc.lockheed.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1992-10-21 22:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-10-21 22:56 format/variable-type mismatch error - Help Jim Schafer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox