# Number ranges in Switch/Case

**URL:** <https://forum.kirupa.com/t/number-ranges-in-switch-case/53220>\
**Category:** flash\
**Created:** [June 1, 2004, 3:07pm UTC](https://forum.kirupa.com/t/number-ranges-in-switch-case/53220 "2004-06-01T15:07:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cswisher](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@cswisher](https://forum.kirupa.com/u/cswisher)\
**Post date:** [June 1, 2004, 3:07pm UTC](https://forum.kirupa.com/t/number-ranges-in-switch-case/53220/1 "2004-06-01T15:07:45Z")

</div>

I think I understand how to use switch/case conditions in Actionscript for concrete values. Can the same be done with ranges? - case \> 5 - or something like that? Perhaps even - case \> 5 \< 10 - ?
