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

Шрифт
Фон

str(17) = Mid(Word_in.Text, nums 17, 1)

str(18) = Mid(Word_in.Text, nums 18, 1)

str(19) = Mid(Word_in.Text, nums 19, 1)

Catch ex As Exception

End Try

If Word_in.TextLength = 1 Then

If str(0) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 2 Then

If str(1) = "c" Then

Chr1.Text = "C"

End If

If str(0) = "c" Then

Chr2.Text = "C"

End If

ElseIf Word_in.TextLength = 3 Then

If str(0) = "c" Then

Chr3.Text = "C"

End If

If str(1) = "c" Then

Chr2.Text = "C"

End If

If str(2) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 4 Then

If str(0) = "c" Then

Chr4.Text = "C"

End If

If str(1) = "c" Then

Chr3.Text = "C"

End If

If str(2) = "c" Then

Chr2.Text = "C"

End If

If str(3) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 5 Then

If str(0) = "c" Then

Chr5.Text = "C"

End If

If str(1) = "c" Then

Chr4.Text = "C"

End If

If str(2) = "c" Then

Chr3.Text = "C"

End If

If str(3) = "c" Then

Chr2.Text = "C"

End If

If str(4) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 6 Then

If str(0) = "c" Then

Chr6.Text = "C"

End If

If str(1) = "c" Then

Chr5.Text = "C"

End If

If str(2) = "c" Then

Chr4.Text = "C"

End If

If str(3) = "c" Then

Chr3.Text = "C"

End If

If str(4) = "c" Then

Chr2.Text = "C"

End If

If str(5) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 7 Then

If str(0) = "c" Then

Chr7.Text = "C"

End If

If str(1) = "c" Then

Chr6.Text = "C"

End If

If str(2) = "c" Then

Chr5.Text = "C"

End If

If str(3) = "c" Then

Chr4.Text = "C"

End If

If str(4) = "c" Then

Chr3.Text = "C"

End If

If str(5) = "c" Then

Chr2.Text = "C"

End If

If str(6) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 8 Then

If str(0) = "c" Then

Chr8.Text = "C"

End If

If str(1) = "c" Then

Chr7.Text = "C"

End If

If str(2) = "c" Then

Chr6.Text = "C"

End If

If str(3) = "c" Then

Chr5.Text = "C"

End If

If str(4) = "c" Then

Chr4.Text = "C"

End If

If str(5) = "c" Then

Chr3.Text = "C"

End If

If str(6) = "c" Then

Chr2.Text = "C"

End If

If str(7) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 9 Then

If str(0) = "c" Then

Chr9.Text = "C"

End If

If str(1) = "c" Then

Chr8.Text = "C"

End If

If str(2) = "c" Then

Chr7.Text = "C"

End If

If str(3) = "c" Then

Chr6.Text = "C"

End If

If str(4) = "c" Then

Chr5.Text = "C"

End If

If str(5) = "c" Then

Chr4.Text = "C"

End If

If str(6) = "c" Then

Chr3.Text = "C"

End If

If str(7) = "c" Then

Chr2.Text = "C"

End If

If str(8) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 10 Then

If str(0) = "c" Then

Chr10.Text = "C"

End If

If str(1) = "c" Then

Chr9.Text = "C"

End If

If str(2) = "c" Then

Chr8.Text = "C"

End If

If str(3) = "c" Then

Chr7.Text = "C"

End If

If str(4) = "c" Then

Chr6.Text = "C"

End If

If str(5) = "c" Then

Chr5.Text = "C"

End If

If str(6) = "c" Then

Chr4.Text = "C"

End If

If str(7) = "c" Then

Chr3.Text = "C"

End If

If str(8) = "c" Then

Chr2.Text = "C"

End If

If str(9) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 11 Then

If str(0) = "c" Then

Chr11.Text = "C"

End If

If str(1) = "c" Then

Chr10.Text = "C"

End If

If str(2) = "c" Then

Chr9.Text = "C"

End If

If str(3) = "c" Then

Chr8.Text = "C"

End If

If str(4) = "c" Then

Chr7.Text = "C"

End If

If str(5) = "c" Then

Chr6.Text = "C"

End If

If str(6) = "c" Then

Chr5.Text = "C"

End If

If str(7) = "c" Then

Chr4.Text = "C"

End If

If str(8) = "c" Then

Chr3.Text = "C"

End If

If str(9) = "c" Then

Chr2.Text = "C"

End If

If str(10) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 12 Then

If str(0) = "c" Then

Chr12.Text = "C"

End If

If str(1) = "c" Then

Chr11.Text = "C"

End If

If str(2) = "c" Then

Chr10.Text = "C"

End If

If str(3) = "c" Then

Chr9.Text = "C"

End If

If str(4) = "c" Then

Chr8.Text = "C"

End If

If str(5) = "c" Then

Chr7.Text = "C"

End If

If str(6) = "c" Then

Chr6.Text = "C"

End If

If str(7) = "c" Then

Chr5.Text = "C"

End If

If str(8) = "c" Then

Chr4.Text = "C"

End If

If str(9) = "c" Then

Chr3.Text = "C"

End If

If str(10) = "c" Then

Chr2.Text = "C"

End If

If str(11) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 13 Then

If str(0) = "c" Then

Chr13.Text = "C"

End If

If str(1) = "c" Then

Chr12.Text = "C"

End If

If str(2) = "c" Then

Chr11.Text = "C"

End If

If str(3) = "c" Then

Chr10.Text = "C"

End If

If str(4) = "c" Then

Chr9.Text = "C"

End If

If str(5) = "c" Then

Chr8.Text = "C"

End If

If str(6) = "c" Then

Chr7.Text = "C"

End If

If str(7) = "c" Then

Chr6.Text = "C"

End If

If str(8) = "c" Then

Chr5.Text = "C"

End If

If str(9) = "c" Then

Chr4.Text = "C"

End If

If str(10) = "c" Then

Chr3.Text = "C"

End If

If str(11) = "c" Then

Chr2.Text = "C"

End If

If str(12) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 14 Then

If str(0) = "c" Then

Chr14.Text = "C"

End If

If str(1) = "c" Then

Chr13.Text = "C"

End If

If str(2) = "c" Then

Chr12.Text = "C"

End If

If str(3) = "c" Then

Chr11.Text = "C"

End If

If str(4) = "c" Then

Chr10.Text = "C"

End If

If str(5) = "c" Then

Chr9.Text = "C"

End If

If str(6) = "c" Then

Chr8.Text = "C"

End If

If str(7) = "c" Then

Chr7.Text = "C"

End If

If str(8) = "c" Then

Chr6.Text = "C"

End If

If str(9) = "c" Then

Chr5.Text = "C"

End If

If str(10) = "c" Then

Chr4.Text = "C"

End If

If str(11) = "c" Then

Chr3.Text = "C"

End If

If str(12) = "c" Then

Chr2.Text = "C"

End If

If str(13) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 15 Then

If str(0) = "c" Then

Chr15.Text = "C"

End If

If str(1) = "c" Then

Chr14.Text = "C"

End If

If str(2) = "c" Then

Chr13.Text = "C"

End If

If str(3) = "c" Then

Chr12.Text = "C"

End If

If str(4) = "c" Then

Chr11.Text = "C"

End If

If str(5) = "c" Then

Chr10.Text = "C"

End If

If str(6) = "c" Then

Chr9.Text = "C"

End If

If str(7) = "c" Then

Chr8.Text = "C"

End If

If str(8) = "c" Then

Chr7.Text = "C"

End If

If str(9) = "c" Then

Chr6.Text = "C"

End If

If str(10) = "c" Then

Chr5.Text = "C"

End If

If str(11) = "c" Then

Chr4.Text = "C"

End If

If str(12) = "c" Then

Chr3.Text = "C"

End If

If str(13) = "c" Then

Chr2.Text = "C"

End If

If str(14) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 16 Then

If str(0) = "c" Then

Chr16.Text = "C"

End If

If str(1) = "c" Then

Chr15.Text = "C"

End If

If str(2) = "c" Then

Chr14.Text = "C"

End If

If str(3) = "c" Then

Chr13.Text = "C"

End If

If str(4) = "c" Then

Chr12.Text = "C"

End If

If str(5) = "c" Then

Chr11.Text = "C"

End If

If str(6) = "c" Then

Chr10.Text = "C"

End If

If str(7) = "c" Then

Chr9.Text = "C"

End If

If str(8) = "c" Then

Chr8.Text = "C"

End If

If str(9) = "c" Then

Chr7.Text = "C"

End If

If str(10) = "c" Then

Chr6.Text = "C"

End If

If str(11) = "c" Then

Chr5.Text = "C"

End If

If str(12) = "c" Then

Chr4.Text = "C"

End If

If str(13) = "c" Then

Chr3.Text = "C"

End If

If str(14) = "c" Then

Chr2.Text = "C"

End If

If str(15) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 17 Then

If str(0) = "c" Then

Chr17.Text = "C"

End If

If str(1) = "c" Then

Chr16.Text = "C"

End If

If str(2) = "c" Then

Chr15.Text = "C"

End If

If str(3) = "c" Then

Chr14.Text = "C"

End If

If str(4) = "c" Then

Chr13.Text = "C"

End If

If str(5) = "c" Then

Chr12.Text = "C"

End If

If str(6) = "c" Then

Chr11.Text = "C"

End If

If str(7) = "c" Then

Chr10.Text = "C"

End If

If str(8) = "c" Then

Chr9.Text = "C"

End If

If str(9) = "c" Then

Chr8.Text = "C"

End If

If str(10) = "c" Then

Chr7.Text = "C"

End If

If str(11) = "c" Then

Chr6.Text = "C"

End If

If str(12) = "c" Then

Chr5.Text = "C"

End If

If str(13) = "c" Then

Chr4.Text = "C"

End If

If str(14) = "c" Then

Chr3.Text = "C"

End If

If str(15) = "c" Then

Chr2.Text = "C"

End If

If str(16) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 18 Then

If str(0) = "c" Then

Chr18.Text = "C"

End If

If str(1) = "c" Then

Chr17.Text = "C"

End If

If str(2) = "c" Then

Chr16.Text = "C"

End If

If str(3) = "c" Then

Chr15.Text = "C"

End If

If str(4) = "c" Then

Chr14.Text = "C"

End If

If str(5) = "c" Then

Chr13.Text = "C"

End If

If str(6) = "c" Then

Chr12.Text = "C"

End If

If str(7) = "c" Then

Chr11.Text = "C"

End If

If str(8) = "c" Then

Chr10.Text = "C"

End If

If str(9) = "c" Then

Chr9.Text = "C"

End If

If str(10) = "c" Then

Chr8.Text = "C"

End If

If str(11) = "c" Then

Chr7.Text = "C"

End If

If str(12) = "c" Then

Chr6.Text = "C"

End If

If str(13) = "c" Then

Chr5.Text = "C"

End If

If str(14) = "c" Then

Chr4.Text = "C"

End If

If str(15) = "c" Then

Chr3.Text = "C"

End If

If str(16) = "c" Then

Chr2.Text = "C"

End If

If str(17) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 19 Then

If str(0) = "c" Then

Chr19.Text = "C"

End If

If str(1) = "c" Then

Chr18.Text = "C"

End If

If str(2) = "c" Then

Chr17.Text = "C"

End If

If str(3) = "c" Then

Chr16.Text = "C"

End If

If str(4) = "c" Then

Chr15.Text = "C"

End If

If str(5) = "c" Then

Chr14.Text = "C"

End If

If str(6) = "c" Then

Chr13.Text = "C"

End If

If str(7) = "c" Then

Chr12.Text = "C"

End If

If str(8) = "c" Then

Chr11.Text = "C"

End If

If str(9) = "c" Then

Chr10.Text = "C"

End If

If str(10) = "c" Then

Chr9.Text = "C"

End If

If str(11) = "c" Then

Chr8.Text = "C"

End If

If str(12) = "c" Then

Chr7.Text = "C"

End If

If str(13) = "c" Then

Chr6.Text = "C"

End If

If str(14) = "c" Then

Chr5.Text = "C"

End If

If str(15) = "c" Then

Chr4.Text = "C"

End If

If str(16) = "c" Then

Chr3.Text = "C"

End If

If str(17) = "c" Then

Chr2.Text = "C"

End If

If str(18) = "c" Then

Chr1.Text = "C"

End If

ElseIf Word_in.TextLength = 20 Then

If str(0) = "c" Then

Chr20.Text = "C"

End If

If str(1) = "c" Then

Chr19.Text = "C"

End If

If str(2) = "c" Then

Chr18.Text = "C"

End If

If str(3) = "c" Then

Chr17.Text = "C"

End If

If str(4) = "c" Then

Chr16.Text = "C"

End If

If str(5) = "c" Then

Chr15.Text = "C"

End If

If str(6) = "c" Then

Chr14.Text = "C"

End If

If str(7) = "c" Then

Chr13.Text = "C"

End If

If str(8) = "c" Then

Chr12.Text = "C"

End If

If str(9) = "c" Then

Chr11.Text = "C"

End If

If str(10) = "c" Then

Chr10.Text = "C"

End If

If str(11) = "c" Then

Chr9.Text = "C"

End If

If str(12) = "c" Then

Chr8.Text = "C"

End If

If str(13) = "c" Then

Chr7.Text = "C"

End If

If str(14) = "c" Then

Chr6.Text = "C"

End If

If str(15) = "c" Then

Chr5.Text = "C"

End If

If str(16) = "c" Then

Chr4.Text = "C"

End If

If str(17) = "c" Then

Chr3.Text = "C"

End If

If str(18) = "c" Then

Chr2.Text = "C"

End If

If str(19) = "c" Then

Ваша оценка очень важна

0
Шрифт
Фон

Помогите Вашим друзьям узнать о библиотеке