var arr = 10.of{ 10.of{ 20.irand + 1 } } for row in arr { for num in row { "%3d".printf(num); num == 20 && goto :OUT } print "\n" } @:OUT print "\n"