Using a macro multiple times


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hello, I’m trying to learn ROOt and hence for obvious reasons I have to edit and fool around with my code while i’m working at it but its a bit irritating to think of new variable names and define the variables everytime while making a variation.

I don’t want to have to restart root to clear my global environment.
Is there any easy way to reuse my code as well as variables easily as i make slight changes? Is there any other way to clear the disk than restarting?

do you have a small example macro ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.