Loading a user-defined function in ROOT

From: Germano Percossi <germano.percossi_at_roma2.infn.it>
Date: Wed, 19 Jan 2005 15:19:20 +0100


Hi everybody,
I've subscribed only a few time ago this ML and surely this question has been answered in another thread. I apologize in advance if this is the case. Anyway, I have some problems loading a function written by me; I load the function with

gROOT->LoadMacro("name_of_file_of_my_func")

  with previous versions I used .L to load it. If I'd need to change my function is there a way to unload the old one and load a new one? Till now I load the new one with the same name, hoping to do the right thing but typing

root [56] gROOT->GetListOfGlobalFunctions()->ls()

I had the errors written at the end of the e-mail and I cannot do anything else than kill root from another shell. I've done anything wrong? Is there any workaround?
I'm running a precompiled version of root (v4.00.04 with gcc 3.3.2) on a Linux machine with gcc 3.4.1.

Greets, Germano Percossi

-- 
     \ | /
     (@ @)
-o00-(_)-00o------------
------------------------------------------------------------
Germano Percossi
University of Rome "Tor Vergata" and INFN Roma2
Via della Ricerca Scientifica 1
I-00133 Rome Italy
Phone     : 06 7259 4824
Room      : c0 28b
------------------------------------------------------------
Received on Wed Jan 19 2005 - 15:23:42 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET