In my VB project, I want to distinguish the character T from other characters. I also want to distinguish the character T (red) from T (black).
My code looks like this:
Expand|Select|Wrap|Line Numbers
- For i = 0 To k
- If Array1(i) = Color.Red And Array2(i) = "T" Then
- Form2.Label15.Text = Array3(i)
- End If
- Next i
What's going on here? It seems like the ''And''-statement isn''t working!?
Cindy