<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=32v_1m_struct</id>
		<title>32v 1m struct - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=32v_1m_struct"/>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=32v_1m_struct&amp;action=history"/>
		<updated>2026-05-06T06:54:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://gunkies.org/w/index.php?title=32v_1m_struct&amp;diff=7030&amp;oldid=prev</id>
		<title>Neozeed: New page: STRUCT(1)           UNIX Programmer's Manual            STRUCT(1)    == NAME ==      struct - structure Fortran programs  == SYNOPSIS ==      struct [ option ] ...  file  == DESCRIPTION ==...</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=32v_1m_struct&amp;diff=7030&amp;oldid=prev"/>
				<updated>2009-10-26T16:17:05Z</updated>
		
		<summary type="html">&lt;p&gt;New page: STRUCT(1)           UNIX Programmer&amp;#039;s Manual            STRUCT(1)    == NAME ==      struct - structure Fortran programs  == SYNOPSIS ==      struct [ option ] ...  file  == DESCRIPTION ==...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;STRUCT(1)           UNIX Programmer's Manual            STRUCT(1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NAME ==&lt;br /&gt;
     struct - structure Fortran programs&lt;br /&gt;
&lt;br /&gt;
== SYNOPSIS ==&lt;br /&gt;
     struct [ option ] ...  file&lt;br /&gt;
&lt;br /&gt;
== DESCRIPTION ==&lt;br /&gt;
     _S_t_r_u_c_t translates the Fortran program specified by _f_i_l_e&lt;br /&gt;
     (standard input default) into a Ratfor program.  Wherever&lt;br /&gt;
     possible, Ratfor control constructs replace the original&lt;br /&gt;
     Fortran.  Statement numbers appear only where still neces-&lt;br /&gt;
     sary.  Cosmetic changes are made, including changing Holler-&lt;br /&gt;
     ith strings into quoted strings and relational operators&lt;br /&gt;
     into symbols (.e.g. &amp;quot;.GT.&amp;quot; into &amp;quot;&amp;gt;&amp;quot;).  The output is&lt;br /&gt;
     appropriately indented.&lt;br /&gt;
&lt;br /&gt;
     The following options may occur in any order.&lt;br /&gt;
&lt;br /&gt;
     -s   Input is accepted in standard format, i.e.  comments&lt;br /&gt;
          are specified by a c, C, or * in column 1, and con-&lt;br /&gt;
          tinuation lines are specified by a nonzero, nonblank&lt;br /&gt;
          character in column 6.  Normally input is in the form&lt;br /&gt;
          accepted by _f_7_7(1)&lt;br /&gt;
&lt;br /&gt;
     -i   Do not turn computed goto statements into switches.&lt;br /&gt;
          (Ratfor does not turn switches back into computed goto&lt;br /&gt;
          statements.)&lt;br /&gt;
&lt;br /&gt;
     -a   Turn sequences of else ifs into a non-Ratfor switch of&lt;br /&gt;
          the form&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          switch&lt;br /&gt;
               { case pred1: code&lt;br /&gt;
                 case pred2: code&lt;br /&gt;
                 case pred3: code&lt;br /&gt;
                 default: code&lt;br /&gt;
               }&lt;br /&gt;
&lt;br /&gt;
          The case predicates are tested in order; the code&lt;br /&gt;
          appropriate to only one case is executed.  This gen-&lt;br /&gt;
          eralized form of switch statement does not occur in&lt;br /&gt;
          Ratfor.&lt;br /&gt;
&lt;br /&gt;
     -b   Generate goto's instead of multilevel break statements.&lt;br /&gt;
&lt;br /&gt;
     -n   Generate goto's instead of multilevel next statements.&lt;br /&gt;
&lt;br /&gt;
     -t_n  Make the nonzero integer _n the lowest valued label in&lt;br /&gt;
          the output program (default 10).&lt;br /&gt;
&lt;br /&gt;
     -c_n  Increment successive labels in the output program by&lt;br /&gt;
&lt;br /&gt;
          the nonzero integer _n (default 1).&lt;br /&gt;
&lt;br /&gt;
     -e_n  If _n is 0 (default), place code within a loop only if&lt;br /&gt;
          it can lead to an iteration of the loop.  If _n is&lt;br /&gt;
          nonzero, admit a small code segments to a loop if oth-&lt;br /&gt;
          erwise the loop would have exits to several places&lt;br /&gt;
          including the segment, and the segment can be reached&lt;br /&gt;
          only from the loop.  `Small' is close to, but not equal&lt;br /&gt;
          to, the number of statements in the code segment.&lt;br /&gt;
          Values of n under 10 are suggested.&lt;br /&gt;
&lt;br /&gt;
== FILES ==&lt;br /&gt;
     /tmp/struct*&lt;br /&gt;
     /usr/lib/struct/*&lt;br /&gt;
&lt;br /&gt;
== SEE ALSO ==&lt;br /&gt;
     [[32v 1m f77|f77(1)]]&lt;br /&gt;
&lt;br /&gt;
== BUGS ==&lt;br /&gt;
     Struct knows Fortran 66 syntax, but not full Fortran 77.&lt;br /&gt;
     If an input Fortran program contains identifiers which are&lt;br /&gt;
     reserved words in Ratfor, the structured version of the pro-&lt;br /&gt;
     gram will not be a valid Ratfor program.&lt;br /&gt;
     The labels generated cannot go above 32767.&lt;br /&gt;
     If you get a goto without a target, try -e .&lt;br /&gt;
&lt;br /&gt;
[[Category:32v man section 1]]&lt;/div&gt;</summary>
		<author><name>Neozeed</name></author>	</entry>

	</feed>