[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Predefined Pragma Variables
- To: ooc-list@informatik.uni-kl.de
- Subject: Re: Predefined Pragma Variables
- From: Ian Rae <ianrae@istar.ca>
- Date: Thu, 12 Feb 1998 19:58:58 -0500
- MMDF-Warning: Parse error in original version of preceding line at news.uni-kl.de
----------
> 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