Topological sort/Extracted top item: Difference between revisions

m
→‎{{header|REXX}}: aligned some DO loops more consistently.
m (→‎{{header|REXX}}: added/changed comments and whitespace, allowed the use of a default job, used a template for the OUTPUTs..)
m (→‎{{header|REXX}}: aligned some DO loops more consistently.)
Line 833:
end /*j*/
 
do k=1 for s; JL=JL jobL.k; end /*k*/ /*build a complete jobList (JL). */
 
do s=1 for words(JL) /*process each job in the jobList. */
Line 842:
say '─────── The compile order for job: ' job " ────────"; say
/* [↓] display the stages for the job.*/
do show=1 for s; if stage.show\=='' then say show stage.show
end /*show*/ /*stick a fork in it, we're all done. */</lang>
{{out|output|text=&nbsp; when using the default input of: &nbsp; <tt> top1 </tt>}}
<pre>