Question: Catch warnings

Hello, I know it is possible to catch errors using traperror and lasterror... But is it possible to also catch warnings in any way? It seems they are only messages that are printed on the screen. So, using OpenMaple/C, they can be extracted from the textCallBack stream (using id 5)... but is this also possible in the Maple environment itself, and if so, how? -- Regards, Franky.
Please Wait...