teamAColorFound = false
teamBColorFound = false
for i = 0 to teamColors.count() - 1
if teamColors[i].id = "A"
teamAColorFound = true
if teamBColorFound
exit for
end if
else if teamColors[i].id = "B"
teamBColorFound = true
if teamAColorFound
exit for
end if
end if
end for
teamBColorFound = true fires Variable 'teamBColorFound' is set but value is never used brs(LINT1005)
presumably because it is used a few lines above in the for loop.
teamBColorFound = true
firesVariable 'teamBColorFound' is set but value is never used brs(LINT1005)
presumably because it is used a few lines above in the for loop.