Hello,
In the class description of TMacro, it is mentioned that a macro can be drawn in a pad. I understand it can be printed on screen by mymacro->Print(), but I don’t know how to draw it on a pad. Anybody can tell?
Okay, I get it. I have to claim that my aim to use TMacro and store it in my root file is not for storing an eact macro, instead a file something like log file. I mean I don’t wanna execute it although I store it as a macro class, what I wanna do is just a log file (a text file is enough for me). Several days ago, I posted a question here: how to store a text file in a root file so that I can record some corresponding information with this root file, somebody suggested me to use TMacro to store a text file.
So, my question is how to view this text file (with a macro format in a root file) instead of by m->Print()?