Валерий Алексеевич Жарков

Справочник Жаркова по проектированию и программированию искусственного интеллекта. Том 5: Программирование искусственного интеллекта на Visual Basic (продолжение 1)


Скачать книгу

If

      If str(4) = "d" Then

      Chr2.Text = "D"

      End If

      If str(5) = "d" Then

      Chr1.Text = "D"

      End If

      ElseIf Word_in.TextLength = 7 Then

      If str(0) = "d" Then

      Chr7.Text = "D"

      End If

      If str(1) = "d" Then

      Chr6.Text = "D"

      End If

      If str(2) = "d" Then

      Chr5.Text = "D"

      End If

      If str(3) = "d" Then

      Chr4.Text = "D"

      End If

      If str(4) = "d" Then

      Chr3.Text = "D"

      End If

      If str(5) = "d" Then

      Chr2.Text = "D"

      End If

      If str(6) = "d" Then

      Chr1.Text = "D"

      End If

      ElseIf Word_in.TextLength = 8 Then

      If str(0) = "d" Then

      Chr8.Text = "D"

      End If

      If str(1) = "d" Then

      Chr7.Text = "D"

      End If

      If str(2) = "d" Then

      Chr6.Text = "D"

      End If

      If str(3) = "d" Then

      Chr5.Text = "D"

      End If

      If str(4) = "d" Then

      Chr4.Text = "D"

      End If

      If str(5) = "d" Then

      Chr3.Text = "D"

      End If

      If str(6) = "d" Then

      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