home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
library
/
clipper
/
rettig
/
source
/
country.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-21
|
541b
|
29 lines
/*********
*
* COUNTRY.C
*
* by Ralph Davis
*
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
* Syntax: COUNTRY()
* Return: <expN> indicating number code on COUNTRY= line in CONFIG.SYS
*********/
#include "trlib.h"
TRTYPE country()
{
char *confparm = "COUNTRY";
int country_num;
country_num = _tr_doscnf(confparm);
if (country_num == (-1)) /* Not specified in CONFIG.SYS */
_retni( 0 ); /* Default country */
else
_retni( country_num );
}