[comp.sys.apollo] Pascal question

krowitz@RICHTER.MIT.EDU (David Krowitz) (08/03/88)

Can Apollo Pascal write a record-structured file? (I don't mean
a file of Pascal records, but a file with a REC file-type -- the
same sort of file which a Fortran program creates when doing
unformatted I/O).


 -- David Krowitz

krowitz@richter.mit.edu   (18.83.0.109)
krowitz%richter@eddie.mit.edu
krowitz%richter@athena.mit.edu
krowitz%richter.mit.edu@mitvma.bitnet
(in order of decreasing preference)

DERSTAD@cim-vax.HONEYWELL.COM (08/03/88)

I believe you can only create record structured files in Pascal
using stream calls.  This was a change made in 9.5/9.6, as
part of Apollo's UNIfication.

Previously, Pascal "File of" types became REC files.  Currently,
they become ascii files.  New programs can still read REC files,
but can't write them.

Obviously, Apollo feels Pascal programmers don't need REC files...
after all, UNIX doesn't have them and if UNIX doesn't, why 
should Apollo?  :-)

All opinions are my own.

Dave Erstad
Honeywell SSED

DERSTAD@cim-vax.honeywell.com

conliffe@CAEN.ENGIN.UMICH.EDU (Darryl C. Conliffe) (08/03/88)

	Obviously, Apollo feels Pascal programmers don't need REC files...
	after all, UNIX doesn't have them and if UNIX doesn't, why
	should Apollo?  :-)
	 
	All opinions are my own.
	 
	Dave Erstad
	Honeywell SSED
	 
	DERSTAD@cim-vax.honeywell.com
	 
	
touche!
___________________

 Darryl C. Conliffe  conliffe@caen.engin.umich.edu  (313) 721-6069
-------------------

achille@cernvax.UUCP (achille) (08/09/88)

About REC files as created by Fortran, the next Fortran release
will do exactly what Pascal does now, it will be able to read REC
files but it will write UASC (or whatever they are called at sr10)
only.

Achille Petrilli, Cray Operations