FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
qb_inkey.c
Go to the documentation of this file.
1
/* QB compatible INKEY */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
FBCALL
FBSTRING
*
fb_InkeyQB
(
void
)
7
{
8
FBSTRING
*res =
fb_Inkey
();
9
10
FB_LOCK
();
11
12
if
( res && res->
data
13
&& (
FB_STRSIZE
(res) == 2 )
14
&& ( res->
data
[0] ==
FB_EXT_CHAR
) )
15
{
16
res->
data
[0] = 0;
17
}
18
19
FB_UNLOCK
();
20
21
return
res;
22
}
rtlib
qb_inkey.c
Generated on Thu Jan 23 2014 19:40:12 for FreeBASIC by
1.8.4