The content of the file must be valid c++. you cannot define functions inside functions in c++
The way macros work is that, if your filename is test2.C
, running your macro in root is (roughly) equivalent to executing test2()
.
The content of the file must be valid c++. you cannot define functions inside functions in c++
The way macros work is that, if your filename is test2.C
, running your macro in root is (roughly) equivalent to executing test2()
.