Error messages (was Re: [ROOT] Re TMath.)

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Mon Aug 06 2001 - 20:48:19 MEST


Hi Matthew et al, 

On Mon, 6 Aug 2001 04:08:56 -0500 (CDT)
Matthew Martin <msmartin@fnal.gov> wrote
concerning ": [ROOT] Re TMath.":
> I was calling the Atan instead of ATan.

It's still and odd error message: 

  root [0] TMath::Atan(1)   
  Error: class,struct,union or type $TMath not defined  FILE:/tmp/fileW0W2LZ_cint LINE:1
  Error: No symbol TMath::Atan(1) in current scope  FILE:/tmp/fileW0W2LZ_cint LINE:1
  *** Interpreter error recovered ***

and not very informative.  Something like 

  Error: TMath has no static method TMath::Atan 

would be more appropiate, and not make one search franticly for far
too long to find a simple misspelling.  Could I ask ROOT/Masa to
implment a better error message, please.  Thanks. 

Yours, 

Christian  -----------------------------------------------------------
Holm Christensen                             Phone:  (+45) 35 35 96 91 
  Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
  DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
  Denmark                                    Email:       cholm@nbi.dk



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET