Great hint, thank you very much!
I didn't even think about checking the memory address.
In reply to Re^3: Detect a localized variable by Sewi in thread Detect a localized variable by Sewi