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