Commit 754d0f64cd8e053035078e9049346d700c7bcf22

Added REPEAT loop to print extra lines in u.Unmaintained
src/u.mod
(3 / 1)
  
4444 found : BOOLEAN;
4545 exit, pos : CARDINAL;
4646 result, str : Message.strType;
47 tmp : ARRAY [0..2999] OF CHAR;
47 tmp : ARRAY [0..4999] OF CHAR;
4848 iores : StreamFile.OpenResults;
4949 file : StreamFile.ChanId;
5050 BEGIN
6363 Strings.Concat(tmp, "DONE", tmp);
6464 Message.PrintLine(parse.chan, "The following sections are not currently maintained:");
6565 IF LENGTH(tmp) > 400 THEN
66 REPEAT
6667 Strings.FindPrev(", ", tmp, 401, found, pos);
6768 Strings.Extract(tmp, 0, pos+1, str);
6869 Message.PrintLine(parse.chan, str);
6970 Strings.Extract(tmp, pos+2, LENGTH(tmp), str);
7071 Message.PrintLine(parse.chan, str);
72 UNTIL LENGTH(tmp) <= 400;
7173 ELSE
7274 Message.PrintLine(parse.chan, tmp);
7375 END; |