Case with a range

BlitzMax Forums/BlitzMax Beginners Area/Case with a range

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

select true
    case a < 20
        do stuff
    case a >= 20 and a <= 80
        do stuff
    case a > 80
        do stuff
end select


Should do the trick!