<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — carriage control]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=821</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=821&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in carriage control.]]></description>
		<lastBuildDate>Thu, 14 Oct 2021 00:30:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: carriage control]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3798#p3798</link>
			<description><![CDATA[<p>I got the carriage control to compile changing the<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; CARRIAGECONTROL = &#039;YES&#039;,<br />to<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; CARRIAGECONTROL = &#039;FORTRAN&#039;,</p><p>and removing the BLOCKSIZE command.</p><p>Amazing.</p><p>Now I have to figure out how to conditionally compile some of my code for the different options for carriage control between Watcom and gFortran.</p>]]></description>
			<author><![CDATA[null@example.com (Lynn McGuire)]]></author>
			<pubDate>Thu, 14 Oct 2021 00:30:56 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3798#p3798</guid>
		</item>
		<item>
			<title><![CDATA[Re: carriage control]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3797#p3797</link>
			<description><![CDATA[<p>We use carriage control in every single write to our output file.&nbsp; The first character of each line is a <br />1 - page feed (form feed)<br />+ - over write the previous line<br />0 - skip to the next line the write<br />&#039; &#039; - blank, default, dont do anything</p><p>I would guess that we have 10,000 formatted writes to our output file.&nbsp; Changing this is going to be expensive for us.&nbsp; I have been thinking about it for quite a while though.</p><p>C&nbsp; &nbsp; &nbsp; &nbsp; open the output file&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; OPEN (UNIT&nbsp; &nbsp; = oufile,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; FILE&nbsp; &nbsp; = OUPATH,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; ACTION&nbsp; = &#039;WRITE&#039;,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; ACCESS&nbsp; = &#039;SEQUENTIAL&#039;,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; STATUS&nbsp; = &#039;UNKNOWN&#039;,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; CARRIAGECONTROL = &#039;YES&#039;,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; BLOCKSIZE = 80,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; FORM&nbsp; &nbsp; = &#039;FORMATTED&#039;,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; IOSTAT&nbsp; = OPERR,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; ERR&nbsp; &nbsp; &nbsp;= 400)</p><p>&nbsp; &nbsp;IF (KTRACE.EQ.28) WRITE (OUFILE,555)<br />&nbsp; 555&nbsp; &nbsp; FORMAT(&#039;0 JUST RETURNED FROM EQCALL, GETTING TO SUBST1----&#039;)</p><p>&nbsp; &nbsp; &nbsp; WRITE (OUFILE,133)<br />133&nbsp; &nbsp;FORMAT (&#039;0++++++++NEW CASE STUDY++++++++&#039;)</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WRITE(OUFILE,9764) (IVDY(VTAB+IK).I ,IK=1,KEND)<br /> 9764&nbsp; &nbsp; &nbsp; &nbsp;FORMAT(/&#039; TRANSPORT OPTIONS&#039;,12I4)</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CALL PTITLE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WRITE(OUFILE,910)<br />&nbsp; 910&nbsp; &nbsp; FORMAT (&#039;0&#039;,5X,&#039;STREAM THERMODYNAMIC INITIALIZATION&#039;,//<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2X,&#039;STREAM NUMBER&#039;,3X,&#039;KVALUES&#039;,3X,&#039;ENTHALPIES&#039;,3X,<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#039;VAPOR DENSITY&#039;,3x,&#039;LIQUID DENSITY&#039;,3x,&#039;IMM COMP&#039;/<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2X,13(&#039;-&#039;),3X,7(&#039;-&#039;),3X,10(&#039;-&#039;),3X,13(&#039;-&#039;),3X,14(&#039;-&#039;),<br />&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3x,&#039;--------&#039;)</p><p>Our software dates back to the Univac 1108 (36 bit words) in the middle 1960s.&nbsp; My first port was to the CDC 7600 (60 bit words) in 1977.</p>]]></description>
			<author><![CDATA[null@example.com (Lynn McGuire)]]></author>
			<pubDate>Wed, 13 Oct 2021 22:32:35 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3797#p3797</guid>
		</item>
		<item>
			<title><![CDATA[Re: carriage control]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3778#p3778</link>
			<description><![CDATA[<p>The <em>carriagecontrol</em> option for the <em>open</em> statement is a weird, Intel-only option, and our compiler certainly does not support it.&nbsp; A lot of the functionality of early <em>format</em> extensions in other compilers has been supplanted by using the <em>advance</em> option in <em>read</em> and <em>write</em> statements and the <em>new_line</em> function (which returns the platform&#039;s new line sequence).&nbsp; </p><p>What exactly are you trying to do that we might be able to suggest an alternative?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 07 Jul 2021 18:12:04 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3778#p3778</guid>
		</item>
		<item>
			<title><![CDATA[carriage control]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3777#p3777</link>
			<description><![CDATA[<p>As an &#039;old&#039; fortran user, I would like to make my output prettier.&nbsp; However, when I use the carriage control that I remember, nothing happens.&nbsp; I tried using the option &#039;carriagecontrol=&#039;fortran&#039; in the file open statement.&nbsp; However that does not work.&nbsp; I think that I tried using the -fdec option on the makefile option menu.&nbsp; That did not work.&nbsp; Has anybody tried using carriage control, and if so I would like some help.&nbsp; Thank you, jstephen.tennis</p>]]></description>
			<author><![CDATA[null@example.com (jstephen.tennis)]]></author>
			<pubDate>Mon, 05 Jul 2021 22:35:34 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3777#p3777</guid>
		</item>
	</channel>
</rss>
