Is this reporting right?

BlitzPlus Forums/BlitzPlus Programming/Is this reporting right?

Qube(Posted 2005) [#1]
The getkey() command. Suposed to return the ascii value. It does for alpha numeric values, but not for the cursor keys.

I get a value of 63234 for left cursor key but it should be 31.

The same code in Blitz3D returns the correct value of 31. Is this a Blitz+ bug? or is the getkey() value for the cursor keys different between Blitz+ & Blitz3D?

Graphics 640,480
SetBuffer BackBuffer()

While Not KeyHit(1)
	key = GetKey()
	If key > 0 Then 
		Cls
		Text 0,0,key
		Flip
	End If
Wend



Grey Alien(Posted 2005) [#2]
Yes it's true. I found this out a while back.