This is where I would like some more compiler funcionality added.

Compiler constants for
  CurrentDateTimeText,
  CurrentSourceLIneText,
  CurrentSourcefileText,
  CurrentProcedureText,
  IdentifierText(identifier)

Wouldn't it be nice.. all that debugging code would be trivial and transportable...

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
-----Original Message-----
From: Kieron Lawson <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Wednesday, 23 December 1998 11:40
Subject: [DUG]: Enumerated Types


I need a favour from those of you with 'Delphi Secrets' (I'm in
Christchurch & my copy is in Auckland).

If my memory serves me correctly, there is a way of getting a string
value equivalent (which is effectively the compiler symbol name) of an
enumerated type:

Thus:

type
  TEnumeration=(eThis,eThat,eSomethingElse)

will give:

'eThis', 'eThat', 'eSomethingElse'

I believe it's used by the designer interface for displaying options in
components (eg Grid Options).

Help!

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


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

Reply via email to