Page 1 of 1

How to get exception information

Posted: Wed Aug 30, 2017 6:52 pm
by jcta
How does one go about getting the current unit name, function or procedure name and source line number from within an except...end block?

Thanks
John

Re: How to get exception information

Posted: Wed Aug 30, 2017 7:56 pm
by madshi
You could call this with e.g. "ExceptAddr":

http://help.madshi.net/madMapFileUnit.h ... pFileInfos

Re: How to get exception information

Posted: Thu Aug 31, 2017 12:48 pm
by jcta
Thank you so much!

My 66 year old brain does not work as well as it used to. :sorry:

John