FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
drv_intl_get.c
Go to the documentation of this file.
1
/* get i18n data */
2
3
#include "../fb.h"
4
#include "
fb_private_intl.h
"
5
6
const
char
*
fb_DrvIntlGet
(
eFbIntlIndex
Index )
7
{
8
static
DOS_COUNTRY_INFO_GENERAL
Info;
9
if
( !
fb_hIntlGetInfo
( &Info ) )
10
return
NULL
;
11
12
switch
( Index ) {
13
case
eFIL_DateDivider
:
14
return
Info.
date_sep
;
15
case
eFIL_TimeDivider
:
16
return
Info.
time_sep
;
17
case
eFIL_NumDecimalPoint
:
18
return
Info.
decimal_sep
;
19
case
eFIL_NumThousandsSeparator
:
20
return
Info.
thousands_sep
;
21
}
22
23
return
NULL
;
24
}
rtlib
dos
drv_intl_get.c
Generated on Thu Jan 23 2014 19:40:08 for FreeBASIC by
1.8.4