Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

CNTRY_INFO( [ aArray ] )

Purpose

Return the DOS country code, and optionally fill an array with DOS country
info, from a call to DOS interrupt 21H, service 38H.

Arguments

     aArray -- If passed, array to fill.

Setup

For detailed DOS country specs, declare aArray[11] and pass its name.

Example

     PRIVATE country[ 11 ]
     CNTRY_INFO( country )
     AEVAL( country, { |x| QOUT( x ) } )

Returns

The DOS country code (0 for USA, 1 for Canada, etc.)

If passed, aArray[] is filled as follows:

      1 -- date format (0 = m/y/d; 1 = d/m/y; 2 = y/m/d)
      2 -- currency character symbol
      3 -- thousands separator in numerics
      4 -- decimal point character symbol
      5 -- separator in date strings
      6 -- separator in time strings
      7 -- currency style (0 for symbol after amount, 1 for before)
      8 -- number of decimals to show for money (2 for $, 0 for lira,
             etc)
      9 -- time format (0 for 12-hour format, 1 for 24-hour format)
     10 -- address of a subroutine for local country processing
     11 -- data separator character (usually ",")

Side Effects

None.

Artful Calls

None.

@SECTION = Source FIle

AA_CNTRY.C

Notes

None.

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