FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
intl_get.c
Go to the documentation of this file.
1
/* get i18n data */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
const
char
*
fb_IntlGet
(
eFbIntlIndex
Index,
int
disallow_localized )
7
{
8
if
(
fb_I18nGet
() && !disallow_localized ) {
9
const
char
*pszResult =
fb_DrvIntlGet
( Index );
10
if
( pszResult!=
NULL
) {
11
return
pszResult;
12
}
13
}
14
15
switch
( Index ) {
16
case
eFIL_DateDivider
:
17
return
"/"
;
18
case
eFIL_TimeDivider
:
19
return
":"
;
20
case
eFIL_NumDecimalPoint
:
21
return
"."
;
22
case
eFIL_NumThousandsSeparator
:
23
return
","
;
24
}
25
26
return
NULL
;
27
}
rtlib
intl_get.c
Generated on Thu Jan 23 2014 19:40:12 for FreeBASIC by
1.8.4