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

Paul phshaffer at gmail.com
Thu Jun 14 13:35:59 PDT 2012


On Thursday, 14 June 2012 at 16:49:16 UTC, bearophile wrote:
> 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

Thanks.




More information about the Digitalmars-d-learn mailing list