<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 01/05/2022 18:30, Philip Taylor
(Hellenic Institute) wrote:<br>
</div>
<blockquote type="cite"
cite="mid:fe206a71-0b3e-0274-ca32-591e46e2a7a0@Hellenic-Institute.Uk">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>OK, many thanks for the suggestion. I shall give it some
thought.</p>
</blockquote>
<p>It looks as if CMD's FOR command plus ECHO might be what is
needed. Something along the lines of <br>
</p>
<p>
<blockquote type="cite"><tt>FOR /F "skip=1 tokens=1* " %i in
(bowls-rr.ta68) do @echo %i %j</tt></blockquote>
which yields (for a noddy program with a leading pragmat) <br>
</p>
<p>
<blockquote type="cite"><tt>BEGIN</tt><tt><br>
</tt><tt>#
================================================================</tt><tt><br>
</tt><tt>This program attempts to find one or more solutions to
scheduling a multiple round-robin bowls tournament</tt><tt><br>
</tt><tt>================================================================
#</tt><tt><br>
</tt><tt>INT number of teams, number of rinks, number of dates;</tt><tt><br>
</tt><tt>print ("Number of teams: "); read (number of teams);</tt><tt><br>
</tt><tt>INT number of matches = number of teams ^ 2 - number of
teams;</tt><tt><br>
</tt><tt>print (("Each round will require ", number of matches,
" matches.", newline ));</tt><tt><br>
</tt><tt>print ("Number of rinks: "); read (number of rinks);</tt><tt><br>
</tt><tt>INT number of days = number of matches OVER 4;</tt><tt><br>
</tt><tt>print (("Number of days required for one round: " ,
number of days, newline));</tt><tt><br>
</tt><tt>print ("Number of dates: "); read (number of dates);</tt><tt><br>
</tt><tt>INT number of rounds = number of dates OVER number of
days;</tt><tt><br>
</tt><tt>print (("With the constraints given, there can be a
maximum of ", number of rounds, " rounds", newline))</tt><tt><br>
</tt><tt>END</tt></blockquote>
It has dropped the blank lines in the original, but the remainder
appears as typed, <i>sans</i> leading pragmat.</p>
<p>-- <br>
<i>** Phil.</i><br>
</p>
</body>
</html>