FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
con_locate.c
Go to the documentation of this file.
1
/* locate function entry point, returns current position */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
FBCALL
int
fb_Locate
(
int
row,
int
col,
int
cursor,
int
start,
int
stop )
7
{
8
int
new_pos;
9
int
res =
fb_LocateEx
( row, col, cursor, &new_pos );
10
if
( res!=
FB_RTERROR_OK
)
11
fb_LocateEx
( 0, 0, cursor, &new_pos );
12
return
new_pos;
13
}
rtlib
con_locate.c
Generated on Thu Jan 23 2014 19:40:07 for FreeBASIC by
1.8.4