RE:[ROOT] Helpful message?

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Fri Jun 09 2000 - 06:01:49 MEST


Hello Bill,

Following message means there is no name matched candidate. I know
this is confusing to user. Those lines are only headers for candidate. 
Probably in this case, setMarkerStyle should be SetMarkerStyle. Sinse
there is no name match, cint tries to search through class hierarchy
and finds nothing.

Some cases, this helps a lot, especially you have function name matched
but parameter mismatch.  It is the best if there is no name match this
message is not shown. 

Thank you
Masaharu Goto


>
>  Root of all
>
>   Whenever I mistype a command I get several lines of helpful advice as
> in:
>
>  root.exe [4] laser->setMarkerStyle(24)
>Error: Can't call TTree::setMarkerStyle(24) in current scope
>FILE:/tmp/filefPXkgE_cint LINE:1
>Possible candidates are...
>filename       line:size busy function type and name  (in TTree)
>filename       line:size busy function type and name  (in TNamed)
>filename       line:size busy function type and name  (in TObject)
>filename       line:size busy function type and name  (in TAttLine)
>filename       line:size busy function type and name  (in TAttFill)
>filename       line:size busy function type and name  (in TAttMarker)
>*** Interpreter error recovered ***
>
>   What am I to learn from these "Possible candidates"?
>
>                                                    



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:27 MET