Round-robin tournament schedule: Difference between revisions

imported>Thebeez
Line 1,410:
 
End
 
' helper function to allow byes to be printed intelligently
_Nob Param (3) : Return (Iif (ba@ <= 10,b@ Join(d* c@, StrDup(b@)" 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
Line 1,458 ⟶ 1,452:
Return
</syntaxhighlight>
 
=={{header|Wren}}==
{{libheader|Wren-fmt}}
Anonymous user