> Maybe I should have put it on the wish list for D6!
> If they extended Delphi to allow more characters in enumerated type
> descriptions it would get past the
> old string/ordinal problem

Their best solution to beat the 'ordinal type' limitation of the case statement
is to extend the compiler to produce parse trees using cascaded 'if-else' as
the non-ordinal implementation of case.  Since delphi doesn't have the
fall-through case features of the C switch statement there's no semantic
difference - all case elements are required to be constants so there's no issue
with order of evaluation or evaluation at all...

--
Aaron@home


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

Reply via email to