This will loop until ESC/SPACE/ENTER key is pressed how do I modify this to include:
TAB KEY GETKEY=9
F1 KEY GETKEY=15359
When I try for "LOOP UNITIL X5=13 OR X5=32 OR X5=15359" FreeBASIC gives me an error of "Error Encountered - Unknown Key" for the F1 Key. I don't get it?
dim as integer keyCode
DO
keyCode = GETKEY
print keyCode;
LOOP UNTIL keyCode =13 OR keyCode =32 OR keyCode = 15359
Thank you for responding BasicCoder2. Yes I do need to read a manual such as the one you suggested. And I do look at the help that comes with the Editor.
But for some reason I get unusual problems. The code is similar to mine. I have a dim statement as