给定函数
'Returns true if no cell is > 1
Function isSolutionValid() As Boolean
Dim rLoop As Integer
Dim cLoop As Integer
For cLoop = 0 To canvasCols - 1
For rLoop = 0 To canvasRows - 1
If canvas(cLoop, rLoop) > 1 Then
Return False
End If
Next
Next
Return True
End Function
当“return false”被激发时,我假设函数在该点停止,并且不需要退出for s之类的东西?