View Single Post
Old 22-02-2020, 11:47
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
Join Date: May 2011
Location: Brazil
Posts: 813
Thanks: 1,352
Thanked 1,751 Times in 591 Posts
Cesar82 is on a distinguished road
@Gupta. Yes I understood.
But I like to repurpose variables when they are no longer being used within the same function.
If I declare the variable with a specific name to what it is working on, using it in another part of the code would be bad, then I use S, S1, S2, etc.
In this GetFlagsByLine function I could have used variables with more informative names, but I wanted to reduce the text.

If you want I can remove my previous posts from this topic, as it is not useful for most readers.

Thank you for reporting my misuse of variable names.
I will try to use less confusing variables going forward.
Reply With Quote