A problem has been solved in this thread. But the solution does not have logic.
In short, in an "if else", which always runs the "else", it works if the content of the "if" is modified.
I think it's easier to understand if you look at #34 of the thread. I copy it here:
Can anyone explain this strange case?
In short, in an "if else", which always runs the "else", it works if the content of the "if" is modified.
I think it's easier to understand if you look at #34 of the thread. I copy it here:
Can anyone explain this strange case?
If I do not see it, I do not believe it.
Finally, I have found the problem, and it is impossible to believe.
I have done many tests and the result is always the same.
With DirInternal it does not work.
With DirDefaultExternal it works.
It's incredible, because the code does not pass through there, but rather through the else:
Does anyone have a reasonable explanation?