[Fwd: macro name]

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Jan 12 2000 - 15:38:09 MET


This might be interesting for many people.

Cheers, Fons.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910

attached mail follows:


Dear Jerzy, You can refer to __FILE__ and __LINE__ if you use cint5.14.15 or later. macro() { // macro.C printf("%s %d\n",__FILE__,__LINE__); } root> .X macro.C macro.C 2 Thank you Masaharu Goto >Dear Rooters, >is there a way to access the name of a macro inside the macro, analogous >to [0] argumant in kumac? >Thank you in advance, > Jerzy > > >-- >Jerzy Lukasik | Mail J.Lukasik@gsi.de >GSI, Abteilung KP3 | Phone +49-6159-71-2770 >D-64291 Darmstadt



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