Hi again and sorry because I misinterpreted your question - at least the first part. For that I don't know a solution. The second part (attaching a pragma to a function) I've solved using line numbers (as you can hopefully see in my previous reply). Hth anyway Olaf