Round-robin tournament schedule: Difference between revisions

Content added Content deleted
imported>Thebeez
Line 1,410: Line 1,410:


End
End

' helper function to allow byes to be printed intelligently
' helper function to allow byes to be printed intelligently
_Nob Param (3) : Return (Iif (a@ = b@ * c@, Dup(" B"), Str("_#", b@)))

_Nob
Param (3)
Local (1)

d@ = Iif (a@ > 9, " ", "")
If a@ = b@ * c@ Then Return (Join (d@, "B"))
Return (Iif (b@ < 10, Join(d@, Str(b@)), Str(b@)))


_Roundrob
_Roundrob
Line 1,458: Line 1,452:
Return
Return
</syntaxhighlight>
</syntaxhighlight>

=={{header|Wren}}==
=={{header|Wren}}==
{{libheader|Wren-fmt}}
{{libheader|Wren-fmt}}