Okay, well, I'm trying to recreate a very simple Sudoku game that I made with C++ using TI Basic. I haven't gotten very far because just putting random numbers in my matrix is driving me crazy… So far, this is what I have:

(I'm using TI-83+)

```
:AxesOff
FnOff
0->Xmin
90->Xmax
0->Ymin
90->Ymax
DelVar A:DelVar B:DelVar C:DelVar D:DelVar Z:Delvar F:0->H
{9,9}->dim([A])
Fill(0,[A])
ClrDraw
For(A,10,100,10)
Horizontal A
End
For(B,10,100,10)
Vertical B
End
Vertical 31
Vertical 61
Horizontal 29
Horizontal 61
Text(1,1,"9
1->C
For(C,1,9)
Lbl 3
1->D
randInt(1,9)->Z
For(D,1,9)
If Z=[A](1,D)
Goto 3
End
Z->[A](1,C)
End
Disp H
Pause
Disp [A]
Pause
```

Right now, I'm just trying to get 1 random row of numbers 1 - 9, not repeating, in the matrix. The problem is that usually it only ads a few of the random numbers, and the rest are zero. Why doesn't it add random numbers to the entire row?

Thanks for any help, it's been driving me crazy…