I came across of the following in an old program: ENCODE (size, fmt, buf [, IOSTAT=i-var] [, ERR=label]) [io-list] DECODE (size, fmt, buf [, IOSTAT=i-var] [, ERR=label]) [io-list]
These are relatively vendor extensions to Fortran 66 to support something like internal read/write combined with transfer as b does not need to be character (which did not exist in Fortran 66). See also: http://docs.sun.com/app/docs/doc/805-4939/6j4m0vn8o http://www.intel.com/software/products/compilers/docs/flin/main_for/mergedProjects/lref_for/source_files/rfdecode.htm http://rsusu1.rnd.runnet.ru:8888/ab2/coll.34.5/FORTRANREF/@Ab2PageView/idmatch(C40000F81487A) If one does not want to implement it, one could think of adding a similar paragraph as in g77: http://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/ENCODE-and-DECODE.html -- Summary: Support ENCODE/DECODE Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34952