[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Predefined Pragma Variables



----------
> From: Michael van Acken <mvacken@t-online.de>
> > __FILE__   current source module name. eg "ObxAscii.Mod"
> > 
> > __TIME__ and __DATE__ current time and date
> 
> No very useful.  You can't insert the value of a pragma variable into
> the module source, unlike #defines known from cpp.
> 

I see. Also, the main use I've seen for them in C/C++ is to say 
where a failure occured. ASSERT and HALT probably already do this.

--Ian