Wish Compiler warning if code is found in a sub after StartActivity

walt61

Active Member
Licensed User
Longtime User
Having used Visual Studio for many years, I've been caught out a couple times by my app behaving strangely (at least it seemed to) because I added code to a sub after calling StartActivity; code that won't get executed at all or only partially as the activity gets paused and the new one gets started. Recently it happened again and I'm sure it won't be the last time :) It would be useful if the compiler would issue a warning if code is found after a call to StartActivity, just as a memory jogger.
 
Top