I have been practicing some functions of root and new to the language. However I have been having trouble as in where should I save the macro files so that .x macroname.C executes the macro directly. I have tried various locations including root folder, and root>macros folder.
What is weird is that sometimes I can access the macro by directly executing it “.x” and sometimes I have to load it first “.L” but never have both of them worked for me at the same time.
The error is shows mainly is the file was not found in the macros folder even though the file is right there and I can load it or execute it. ___
Please read tips for efficient and successful posting and posting code
ROOT Version: 16.08/04
Compiler: Not Provided