Hook after loading pxp but before compiling main procedure
Mon, 05/15/2023 - 12:00 am
I guess the answer is no, but I'll ask anyway. Is there a way to intercept the loading of an experimental file right before the compilation of the main procedure (in the default procedure window)? Use case: I get sometimes experiment files with #include statements of missing procedures and for each and every of these lines there is a warning popping up where one has to delete the line in question and try again. This can be up to 5 times per file in my case. I have all the code ready to silently squish these include statements automatically, which could be put in an independent module, but without a way to execute the code before the main procedure executes this is useless. Or is there some other way to suppress these warning messages like an 'ignore missing include' flag? Yes, I could provide dummy files for each and every of such include statement I have encountered so far, so that the code compiles the first time around, but this is no solution for me (and others of my team).