Is this reporting right?

BlitzPlus Forums/BlitzPlus Programming/Is this reporting right?

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.

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