They have to be ordinals - subtly different ;-)

-----Original Message-----
From: Chris Milham [mailto:[EMAIL PROTECTED]]

More thoughts...
If you are trying to find a particular object then you will be out of luck
as the items in a case statement have to be constants. IMHO stick with
if-else for this sort of thing.

Chris
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to