Nautical bell: Difference between revisions

Changed the way to build "dings".
(Changed the way to build "dings".)
Line 1,014:
var dings = Ding
for i in 2..bell:
dings.add (if (i andmod 1)2 =!= 0: "" else: " ")dings.add &' Ding'
dings.add Ding
echo &"{h:02d}:{m:02d} {Watches[watch]:>9} watch {Bells[bell]:>5} bell{plural} {dings}"
 
Anonymous user