Option Explicit
Private Sub Command1_Click()
Dim i As Integer, j As Integer
Print "*";
For i = 1 To 9
Print Tab(6 * i); i;
Next i
Print
For i = 1 To 9
Print i;
For j = 1 To 9
Print Tab(6 * j); i * j;
Next j
Print
Next i
End Sub
Private Sub Command2_Click()
Dim i As Integer, j As Integer
Print "*";
For i = 1 To 9
Print Tab(6 * i); i;
Next i
Print
For i = 1 To 9
Print i;
For j = 1 To i
Print Tab(6 * j); i * j;
Next j
Print
Next i
End Sub
Private Sub Form_Load()
AutoRedraw = True
End Sub