Quick question about case select

BlitzMax Forums/BlitzMax Programming/Quick question about case select

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.

different way (no function)
SeedRnd(MilliSecs() )
Local num% = Rand(0 , 50)
Select True

	Case num => 30 And num <= 50
		Print "30..50"
	Case num => 26 And num <= 29
		Print "26..29"
	Case num => 1 And num <= 25
		Print "1..25"
	Default
		Print "number not in range {" + num + "}"
		
End Select