Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!spool.mu.edu!mips!swrinde!elroy.jpl.nasa.gov!decwrl!ucbvax!threel.co.uk!jf From: jf@threel.co.uk (John Fisher) Newsgroups: comp.lang.fortran Subject: Carriage control characters Message-ID: <280c1ad4@ThreeL.co.uk> Date: 17 Apr 91 09:52:20 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 17 trevor@ccc.govt.nz writes: > Direct cursor addressing isn't standard Fortran. (Fortran carriage-controls for > printers IS standard, but we have one printer that doesn't recognise them...) Well, sort of. What the standard says is that carriage control charcters are recognised when you are *printing*. And it defines *printing* to mean "The transfer of information in a formatted record to certain devices determined by the processor". So if your `processor' decides that transferring records to LPA3, or more to the point, to your console screen isn't *printing*, then it doesn't have to recognise CCCs. The standard adds that just because you code a PRINT statement it doesn't mean that it's *printing*, and if you code a WRITE it doesn't mean you're not *printing*. --John