Справочник Жаркова по проектированию и программированию искусственного интеллекта. Том 5: Программирование искусственного интеллекта на Visual Basic (продолжение 1)
Шрифт:
Chr2.Text = "D"
End If
If str(7) = "d" Then
Chr1.Text = "D"
End If
ElseIf Word_in.TextLength = 9 Then
If str(0) = "d" Then
Chr9.Text = "D"
End If
If str(1) = "d" Then
Chr8.Text = "D"
End If
If str(2) = "d" Then
Chr7.Text = "D"
End If
If str(3) = "d" Then
Chr6.Text = "D"
End If
If str(4) = "d" Then
Chr5.Text = "D"
End If
If str(5) = "d" Then
Chr4.Text = "D"
End If
If str(6) = "d" Then
Chr3.Text = "D"
End If
If str(7) = "d" Then
Chr2.Text = "D"
End If
If str(8) = "d" Then
Chr1.Text = "D"
End If
ElseIf Word_in.TextLength = 10 Then
If str(0) = "d" Then
Chr10.Text = "D"
End If
If str(1) = "d" Then
Chr9.Text = "D"
End If
If str(2) = "d" Then
Chr8.Text = "D"
End If
If str(3) = "d" Then
Chr7.Text = "D"
End If
If str(4) = "d" Then
Chr6.Text = "D"
End If
If str(5) = "d" Then
Chr5.Text = "D"
End If
If str(6) = "d" Then
Chr4.Text = "D"
End If
If str(7) = "d" Then
Chr3.Text = "D"
End If
If str(8) = "d" Then
Chr2.Text = "D"
End If
If str(9) = "d" Then
Chr1.Text = "D"
End If
ElseIf Word_in.TextLength = 11 Then
If str(0) = "d" Then
Chr11.Text = "D"
End If
If str(1) = "d" Then
Chr10.Text = "D"
End If
If str(2) = "d" Then
Chr9.Text = "D"
End If
If str(3) = "d" Then
Chr8.Text = "D"
End If
If str(4) = "d" Then
Chr7.Text = "D"
End If
If str(5) = "d" Then
Chr6.Text = "D"
End If
If str(6) = "d" Then
Chr5.Text = "D"
End If
If str(7) = "d" Then
Chr4.Text = "D"
End If
If str(8) = "d" Then
Chr3.Text = "D"
End If
If str(9) = "d" Then
Chr2.Text = "D"
End If
If str(10) = "d" Then
Chr1.Text = "D"
End If
ElseIf Word_in.TextLength = 12 Then
If str(0) = "d" Then
Chr12.Text = "D"
End If
If str(1) = "d" Then
Chr11.Text = "D"
End If
If str(2) = "d" Then
Chr10.Text = "D"
End If
If str(3) = "d" Then
Chr9.Text = "D"
End If
If str(4) = "d" Then
Chr8.Text = "D"
End If
If str(5) = "d" Then
Chr7.Text = "D"
End If
If str(6) = "d" Then
Chr6.Text = "D"
End If
If str(7) = "d" Then
Chr5.Text = "D"
End If
If str(8) = "d" Then
Chr4.Text = "D"
End If
If str(9) = "d" Then
Chr3.Text = "D"
End If
If str(10) = "d" Then
Chr2.Text = "D"
End If
If str(11) = "d" Then
Chr1.Text = "D"
End If
ElseIf Word_in.TextLength = 13 Then
If str(0) = "d" Then
Chr13.Text = "D"
End If
If str(1) = "d" Then
Chr12.Text = "D"
End If
If str(2) = "d" Then
Chr11.Text = "D"
End If
If str(3) = "d" Then
Chr10.Text = "D"
End If
If str(4) = "d" Then
Chr9.Text = "D"
End If
If str(5) = "d" Then
Chr8.Text = "D"
End If
If str(6) = "d" Then
Chr7.Text = "D"
End If
If str(7) = "d" Then
Chr6.Text = "D"
End If
If str(8) = "d" Then
Chr5.Text = "D"
End If
If str(9) = "d" Then
Chr4.Text = "D"
End If
If str(10) = "d" Then
Chr3.Text = "D"
End If
If str(11) = "d" Then
Chr2.Text = "D"
End If
If str(12) = "d" Then
Chr1.Text = "D"
End If
ElseIf Word_in.TextLength = 14 Then
If str(0) = "d" Then
Chr14.Text = "D"
End If
If str(1) = "d" Then
Chr13.Text = "D"
End If
If str(2) = "d" Then
Chr12.Text = "D"
End If
If str(3) = "d" Then
Chr11.Text = "D"
End If
If str(4) = "d" Then
Chr10.Text = "D"
End If
If str(5) = "d" Then
Chr9.Text = "D"
End If
If str(6) = "d" Then
Chr8.Text = "D"
End If
If str(7) = "d" Then
Chr7.Text = "D"
End If
If str(8) = "d" Then
Chr6.Text = "D"
End If
If str(9) = "d" Then
Chr5.Text = "D"
End If
If str(10) = "d" Then
Chr4.Text = "D"
End If
If str(11) = "d" Then
Chr3.Text = "D"
End If
If str(12) = "d" Then
Chr2.Text = "D"
End If
If str(13) = "d" Then
Chr1.Text = "D"
End If
ElseIf Word_in.TextLength = 15 Then
If str(0) = "d" Then
Chr15.Text = "D"
End If
If str(1) = "d" Then
Chr14.Text = "D"
End If
If str(2) = "d" Then
Chr13.Text = "D"
End If
If str(3) = "d" Then