The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Impossible as it is VisualBasic (I put it in C only to not hurt anyone sensibility) and not .NET (yes, tried and true VB6, that's what I have to work with) so it is a Boolean that can be only True or False and it is initialized to False.
If there was such a possibility I would have kept the code as it was, of course.
That goes to show that you just can't win; and not just because you're working in VB6.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
Could you actually have written something else and realized you had "identical" code in both clauses of the if statement, leading to the obvious replacement with your function calls. You just hadn't made the next step yet.
Now, nope. In the past, yup. I did some stints in medical billing, dental insurance, incident tracking with OSHA compliance, and ding ding ding the Dept of Energy to top it off.
Let's not forget PCI compliance too as far as regulations go, since the banks have the real power. (Notice the govt borrows money from them and not the other way around.) Having them shut you down too means that's something to do deal with.