Справочник Жаркова по проектированию и программированию искусственного интеллекта. Том 5: Программирование искусственного интеллекта на Visual Basic (продолжение 1). Валерий Алексеевич ЖарковЧитать онлайн книгу.
str(1) = "a" Then
Chr2.Text = "A"
End If
If str(2) = "a" Then
Chr1.Text = "A"
End If
ElseIf Word_in.TextLength = 4 Then
If str(0) = "a" Then
Chr4.Text = "A"
End If
If str(1) = "a" Then
Chr3.Text = "A"
End If
If str(2) = "a" Then
Chr2.Text = "A"
End If
If str(3) = "a" Then
Chr1.Text = "A"
End If
ElseIf Word_in.TextLength = 5 Then
If str(0) = "a" Then
Chr5.Text = "A"
End If
If str(1) = "a" Then
Chr4.Text = "A"
End If
If str(2) = "a" Then
Chr3.Text = "A"
End If
If str(3) = "a" Then
Chr2.Text = "A"
End If
If str(4) = "a" Then
Chr1.Text = "A"
End If
ElseIf Word_in.TextLength = 6 Then
If str(0) = "a" Then
Chr6.Text = "A"
End If
If str(1) = "a" Then
Chr5.Text = "A"
End If
If str(2) = "a" Then
Chr4.Text = "A"
End If
If str(3) = "a" Then
Chr3.Text = "A"
End If
If str(4) = "a" Then
Chr2.Text = "A"
End If
If str(5) = "a" Then
Chr1.Text = "A"
End If
ElseIf Word_in.TextLength = 7 Then
If str(0) = "a" Then
Chr7.Text = "A"
End If
If str(1) = "a" Then
Chr6.Text = "A"
End If
If str(2) = "a" Then
Chr5.Text = "A"
End If
If str(3) = "a" Then
Chr4.Text = "A"
End If
If str(4) = "a" Then
Chr3.Text = "A"
End If
If str(5) = "a" Then
Chr2.Text = "A"
End If
If str(6) = "a" Then
Chr1.Text = "A"
End If
ElseIf Word_in.TextLength = 8 Then
If str(0) = "a" Then
Chr8.Text = "A"
End If
If str(1) = "a" Then
Chr7.Text = "A"
End If
If str(2) = "a" Then
Chr6.Text = "A"
End If
If str(3) = "a" Then
Chr5.Text = "A"
End If
If str(4) = "a" Then
Chr4.Text = "A"
End If
If str(5) = "a" Then
Chr3.Text = "A"
End If
If str(6) = "a" Then
Chr2.Text = "A"
End If
If str(7) = "a" Then
Chr1.Text = "A"
End If
ElseIf Word_in.TextLength = 9 Then
If str(0) = "a" Then
Chr9.Text = "A"
End If
If str(1) = "a" Then
Chr8.Text = "A"
End If
If str(2) = "a" Then
Chr7.Text = "A"
End If
If str(3) = "a" Then
Chr6.Text = "A"
End If
If str(4) = "a" Then
Chr5.Text = "A"
End If
If str(5) = "a" Then
Chr4.Text = "A"
End If
If str(6) = "a" Then
Chr3.Text = "A"
End If
If str(7) = "a" Then
Chr2.Text = "A"
End If
If str(8) = "a" Then
Chr1.Text = "A"
End If
ElseIf Word_in.TextLength = 10 Then
If str(0) = "a" Then
Chr10.Text = "A"
End If
If str(1) = "a" Then
Chr9.Text = "A"
End If
If str(2) = "a" Then
Chr8.Text = "A"
End If
If str(3) = "a" Then
Chr7.Text = "A"
End If
If str(4) = "a" Then
Chr6.Text = "A"
End If
If str(5) = "a" Then
Chr5.Text = "A"
End If
If str(6) = "a" Then
Chr4.Text = "A"
End If
If str(7) = "a" Then
Chr3.Text = "A"
End If
If str(8) = "a" Then
Chr2.Text = "A"
End If
If str(9) = "a" Then
Chr1.Text = "A"
End If
ElseIf Word_in.TextLength = 11 Then
If str(0) = "a" Then
Chr11.Text = "A"
End If
If str(1) = "a" Then
Chr10.Text = "A"
End If
If str(2) = "a" Then
Chr9.Text = "A"
End If
If