Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucla-cs!usc!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!lobster!mwk!pittman From: pittman@mwk.uucp (V. Darrell Pittman, M.W. Kellogg, KT26, 713-753-4410) Newsgroups: comp.lang.fortran Subject: Re: Non-VMS like behaviour of "f77 -vms ..." Message-ID: <6171@mwk.uucp> Date: 7 Nov 90 15:51:28 GMT References: <9811@helios.TAMU.EDU> Distribution: usa Organization: M. W. Kellogg, Houston TX Lines: 31 In article <9811@helios.TAMU.EDU>, antek@bioch.tamu.edu writes: > 1) During the execution of such a code: > CHARACTER*10 ANSWER > WRITE (6,'(''$Enter your answer: '')') ! The "$" to suppress > READ (5,'(A10)') ANSWER > a user have to hit the key TWICE, regardless of the length of the > string s/he enters. You might try WRITE( 6, '(''Enter your answer: '',$)' ) or WRITE( 6, '(1X,A,$)' ) 'Enter your answer: ' !1x for ANSI prt. ctrl. This method works under VAX FORTRAN. May or may not be supported by your compiler. Can't help you with question (2). Hope this helps... Darrell -------------------------------------------------------------------------------- V. Darrell Pittman The M. W. Kellogg Co. Email: pittman@mwk.uucp Sr. Systems Programmer 601 Jefferson Ave, KT26 CompuServe: 72277,3146 Houston, TX 77002 Phone: (713) 753-4410 Fax: (713) 753-5353 The opinions expressed herein are my own, not necessarily those of my employer or any other third party. --------------------------------------------------------------------------------