Because without it i would get this message
Code: [Select]
'reader' was not declared in this scope
Then your approach is to cripple your code because you can’t be bothered tracking down the real cause of the error?
A error message is only related to syntax, not function. Do not compromise function just because you don’t understand the syntax.
In this case if you remove that iteration loop you do not need the variable reader at all, so it shouldn’t be in the code.