Checking in a collection?

#1

n/a

#2

You can calculate indices like this:

for(iSquare <- 0 until 9) {
val squareBegin = 3iSquare
for(x <- 0 until 3; y <- 0 until 3) {
val index = squareBegin + x + 9
y
println(index) // or whatever
}

}

#3

I think Markdown ate some of your code

#4

Worst forum software ever.