Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>getcountry()</b> http://www.X-Hacker.org [<<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


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson