> 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
- [DUG]: VB Like Case statement Jeremy Coulter
- Re: [DUG]: VB Like Case statement Matt Powell
- RE: [DUG]: VB Like Case statement Jeremy Coulter
- Re: [DUG]: VB Like Case statement Neven MacEwan
- Re: [DUG]: VB Like Case statement Kerry Sainsbury
- Re: [DUG]: VB Like Case statement Neven MacEwan
- Re: [DUG]: VB Like Case stat... Aaron Scott-Boddendijk
- Re: [DUG]: VB Like Case ... Neven MacEwan
- Re: [DUG]: VB Like C... Aaron Scott-Boddendijk
- Re: [DUG]: VB Like Case statement Aaron Scott-Boddendijk
- RE: [DUG]: VB Like Case statement Jeremy Coulter
- Re: [DUG]: VB Like Case statement Neven MacEwan
- Re: [DUG]: VB Like Case statement Aaron Scott-Boddendijk
- RE: [DUG]: VB Like Case statement Dennis Chuah
- RE: [DUG]: VB Like Case statement Dennis Chuah
- RE: [DUG]: VB Like Case statement Dennis Chuah
- Re: [DUG]: VB Like Case statement Matt Powell