[Tutor] How can a function know where it was called from

Bob Gailer bgailer at alum.rpi.edu
Thu Mar 2 21:57:02 CET 2006


Ben Vinger wrote:
> Thanks to all who responded.  I ended up using  a sender parameter as 
> suggested by Andre and Alan, as this was very simple to do.
When confronted with problems like this I tend to create classes, then 
subclass as needed for special circumstances. You might consider that 
approach.


More information about the Tutor mailing list