>However, I am surprised that the user defined functions (like index() in my
>case) do not get preference above lib ones when running
My explanation was not clear enough. ROOT/CINT does give the user defined
function preference over library function. I failed to find user defined
index() in your source code, so I simply thought it meant library one.
With yourown version of index(), point I made in my previous message
made no sense.
Masaharu Goto