[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GETCOUNTRY()
 Queries country setting for the operating system
------------------------------------------------------------------------------
 Syntax

     GETCOUNTRY() --> nDosCountryCode

     Warning!  This function requires DOS 3.1 or higher.

 Returns

     GETCOUNTRY() returns the current DOS country code setting.

 Description

     GETCOUNTRY() returns an integer that gives the current
     DOS COUNTRY code setting.  Returns a number that corresponds to the
     value set within CONFIG.SYS.

 Note

     .  You can find a table of country codes in the section of the
        DOS manual that describes CONFIG.SYS construction.

 Example

     Query the country code:

     CountryCode  :=  GETCOUNTRY()
     IF CountryCode = 49
        ? "The country code for Germany has been set!"
     ENDIF


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson