What compiler version? I have it in my trunk version -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Getting-the-current-Unit-Name-tp5715789p5715795.html Sent from the Free Pascal - General mailing list archive at Nabble.com.