Switch Statement case '0': .. case '9'

bearophile bearophileHUGS at lycos.com
Thu Jun 14 09:49:15 PDT 2012


Paul:

> What are those examples I quoted from the book?  Aren't they 
> string ranges?
>
>>> case ’0’: .. case ’9’:
>>> case ’A’: .. case ’Z’: case ’a’: .. case ’z’:

Those are char ranges.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list