|
1 registered members (Quad),
6,361
guests, and 4
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Wrong inkey output in manual
#333436
07/16/10 13:39
07/16/10 13:39
|
Joined: Dec 2008
Posts: 1,218 Germany
Rackscha
OP
Serious User
|
OP
Serious User
Joined: Dec 2008
Posts: 1,218
Germany
|
HI, just wanted to tell that inkey doesnt give "13" back when finished with enter, it gives back 13321 (other numbers are wrong too)
GReets Rackscha
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development
|
|
|
Re: Wrong inkey output in manual
[Re: Damocles_]
#333444
07/16/10 14:09
07/16/10 14:09
|
Joined: Dec 2008
Posts: 1,218 Germany
Rackscha
OP
Serious User
|
OP
Serious User
Joined: Dec 2008
Posts: 1,218
Germany
|
Nope, used it in an IF clause and it worked:
int res = 0;
res = inkey(name);
if(res == 13321)
{
.
.
.
}
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development
|
|
|
Re: Wrong inkey output in manual
[Re: Damocles_]
#333455
07/16/10 14:32
07/16/10 14:32
|
Joined: Dec 2008
Posts: 1,218 Germany
Rackscha
OP
Serious User
|
OP
Serious User
Joined: Dec 2008
Posts: 1,218
Germany
|
Well...have seen its shown(var) in the example. year ofcourse with var its working.
my bad, sorry. Just using int and float all the time(cause var doesnt exist in c++ thats why i dont use it in lite-c, to not get confused^^)
Greets Rackscha
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development
|
|
|
|