SuDokuPuzzle: SetMatrixFromIndex

SetMatrixFromIndex

Sets the row and column matrix for a square based on its linear index.



 Public Sub SetMatrixFromIndex(
	  ByVal Index As Integer,
	  ByRef Row As Integer,
	  ByRef Col As Integer )

Parameters

Index
[ByVal] Integer. The linear index of the desired square.
Row
[ByRef] Integer. Will be set to the row of the desired square.
Col
[ByRef] Integer. Will be set to the column of the desired square.

Remarks

See Also

Project SuDokuLib Overview Class SuDokuPuzzle Overview SuDokuPuzzle Properties SuDokuPuzzle Methods Rows (get)