Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!rochester!uhura.cc.rochester.edu!troi.cc.rochester.edu!rbr4 From: rbr4@troi.cc.rochester.edu (Roland Roberts) Newsgroups: comp.lang.fortran Subject: Re: Non-VMS like behaviour of "f77 -vms ..." Message-ID: <10333@ur-cc.UUCP> Date: 9 Nov 90 23:26:32 GMT References: <9811@helios.TAMU.EDU> <6171@mwk.uucp> <1990Nov9.012631.13152@odin.corp.sgi.com> Sender: news@uhura.cc.rochester.edu Distribution: usa Organization: University of Rochester, Rochester NY Lines: 28 In article <1990Nov9.012631.13152@odin.corp.sgi.com> calvin@dinkum.wpd.sgi.com (Calvin H. Vu) writes: >...BTW, I know '$' can be used as a format editing character (i.e. >above usage) but I've never heard that it can be used as a carriage >control character (i.e. below usage) and effects the NEXT INPUT line: > > WRITE( 6, '(''$Enter your answer: '')' ) ! Sure you can do this ? > At least on VAXen, the C Run-Time library claims that RMS translates fortran carraige control files in this fashion. Page 1-15 (section 1.3.2) says: character output NULL --> 0 --> \n\n\r 1 --> \f\r + --> \r $ --> \n all others --> \n\r `\r' is carraige return, `\n' is newline, `\f' is formfeed. roland -- Roland Roberts, University of Rochester BITNET: roberts@uornsrl Nuclear Structure Research Lab INTERNET: rbr4@cc.rochester.edu 271 East River Road UUCP: rochester!ur-cc!rbr4 Rochester, NY 14267 AT&T: (716) 275-8962