Help with Select Case
#3
Code: (Select All)
Do
    k = _KeyHit
    If k > 0 Then
        Select Case k
            Case 65 To 90, 97 To 122
                Print "It's a letter!"
            Case Else
                Print "It's not a letter. :("
        End Select
    End If
    _Limit 30
Loop Until k = 27 'escape to quit

This little demo what you're looking for?
Reply


Messages In This Thread
Help with Select Case - by PhilOfPerth - 04-24-2022, 05:26 AM
RE: Help with Select Case - by johnno56 - 04-24-2022, 06:33 AM
RE: Help with Select Case - by PhilOfPerth - 04-24-2022, 07:26 AM
RE: Help with Select Case - by SMcNeill - 04-24-2022, 06:46 AM
RE: Help with Select Case - by johnno56 - 04-24-2022, 07:28 AM
RE: Help with Select Case - by PhilOfPerth - 04-24-2022, 07:54 AM



Users browsing this thread: 1 Guest(s)