>> #define DEBUG(str) fprintf(stderr, "%s:%d: %s", __FILE__, __LINE__, str)

> Hiya, does delphi have any of doing something like Dimi suggests below?

Re: Compiler Constants NOT preprocessor inlines.

No but it's been asked for by developers since version 1... This is a very handy 
feature

Useful items I can think of are:

__File :String;
__Line :Integer;
__DateTime :TDateTime;
__Method :String;
__Class :String;

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to