It's a bug that will never be fixed.  The "..." syntax was inherited
from GCC and hasn't been standardized.  It might work in the ... form
if you cast the enum to an int, like

case (int)UTM ... (int)DegMinSec :

but I'm not sure.

On 10/31/07, Luc Le Blanc <[EMAIL PROTECTED]> wrote:
> CW 9.3 supports the
>
> case 4 ... 6 :
>
> notation in switch statements. But shouldn't it work with enums too? Like in:
>
> case UTM ... DegMinSec :
>
> It fails here (the case block is skipped altogether :(
>
> Confirmation: it works when I break up the case into:
>
> case UTM :
> case DegMin :
> case DegMinSec :
>
>
> Luc Le Blanc
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe, 
> please see http://www.access-company.com/developers/forums/
>

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to