Hmm. It works under non-debug build, but seems to lock up under debug build. Also Chr() is a bit flaky.
[EDIT] Ahh, got it. It's not locking up under debug build, it's just waiting for an input that never arrives. It seems that the input focus is sent elsewhere for debug builds. Try it under release mode though - it works under Windows. No shift key or punctuation, mind.
[EDIT2] Fixed it under debug mode. I changed the line
[EDIT] Ahh, got it. It's not locking up under debug build, it's just waiting for an input that never arrives. It seems that the input focus is sent elsewhere for debug builds. Try it under release mode though - it works under Windows. No shift key or punctuation, mind.
[EDIT2] Fixed it under debug mode. I changed the line
For Local i:Byte=1 To 255to
For Local i:Int=1 To 255and it works for debug and release modes. Bug?