GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2011-Nov-02

Title: Error in keycode (08) and (09)
Post by: mentalthink on 2011-Nov-02
I there,
I think the keyboard have got a problem, whit some keys.

When I put this:
key(08)  make somthing or whit key(09)

the compiler give this error:

st_STAGE.gbas, load_Media.gbas, loader_Data_Parameters.gbas, LOADERE_DATA.gbas,
C:\Users\MENTAL~1\AppData\Local\Temp\glbasic\gpc_temp0.cpp:2915:9: invalid digit "8" in octal constant
C:\Users\MENTAL~1\AppData\Local\Temp\glbasic\gpc_temp0.cpp:2931:9: invalid digit "9" in octal constant
*** FATAL ERROR - Please post this output in the forum

I try to put only 8 and 9 but doesn´t works.

_____________________
Title: Re: Error in keycode (08) and (09)
Post by: MrTAToad on 2011-Nov-02
This works :

Code (glbasic) Select
DEBUG KEY(8)

Doing KEY(08) makes the compiler think you are using the octal base system (0-7)
Title: Re: Error in keycode (08) and (09)
Post by: mentalthink on 2011-Nov-03
ok Mrtatoad, thanks