Suppose I have two subroutines - Sub1 and Sub2 - that both call a third subroutine - Sub3. Is there some code I can put inside Sub3 so that when it's running, it knows whether it was called by Sub1 or Sub2?
Suppose I have two subroutines - Sub1 and Sub2 - that both call a third subroutine - Sub3. Is there some code I can put inside Sub3 so that when it's running, it knows whether it was called by Sub1 or Sub2?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks