
   Const
     ABDAY_1 = (__LC_TIME shl 16);
     ABDAY_2 = (ABDAY_1)+1;
     ABDAY_3 = (ABDAY_1)+2;
     ABDAY_4 = (ABDAY_1)+3;
     ABDAY_5 = (ABDAY_1)+4;
     ABDAY_6 = (ABDAY_1)+5;
     ABDAY_7 = (ABDAY_1)+6;
     DAY_1 = (ABDAY_1)+7;
     DAY_2 = (ABDAY_1)+8;
     DAY_3 = (ABDAY_1)+9;
     DAY_4 = (ABDAY_1)+10;
     DAY_5 = (ABDAY_1)+11;
     DAY_6 = (ABDAY_1)+12;
     DAY_7 = (ABDAY_1)+13;
     ABMON_1 = (ABDAY_1)+14;
     ABMON_2 = (ABDAY_1)+15;
     ABMON_3 = (ABDAY_1)+16;
     ABMON_4 = (ABDAY_1)+17;
     ABMON_5 = (ABDAY_1)+18;
     ABMON_6 = (ABDAY_1)+19;
     ABMON_7 = (ABDAY_1)+20;
     ABMON_8 = (ABDAY_1)+21;
     ABMON_9 = (ABDAY_1)+22;
     ABMON_10 = (ABDAY_1)+23;
     ABMON_11 = (ABDAY_1)+24;
     ABMON_12 = (ABDAY_1)+25;
     MON_1 = (ABDAY_1)+26;
     MON_2 = (ABDAY_1)+27;
     MON_3 = (ABDAY_1)+28;
     MON_4 = (ABDAY_1)+29;
     MON_5 = (ABDAY_1)+30;
     MON_6 = (ABDAY_1)+31;
     MON_7 = (ABDAY_1)+32;
     MON_8 = (ABDAY_1)+33;
     MON_9 = (ABDAY_1)+34;
     MON_10 = (ABDAY_1)+35;
     MON_11 = (ABDAY_1)+36;
     MON_12 = (ABDAY_1)+37;
     AM_STR = (ABDAY_1)+38;
     PM_STR = (ABDAY_1)+39;
     D_T_FMT = (ABDAY_1)+40;
     D_FMT = (ABDAY_1)+41;
     T_FMT = (ABDAY_1)+42;
     T_FMT_AMPM = (ABDAY_1)+43;
     ERA = (ABDAY_1)+44;
     __ERA_YEAR = (ABDAY_1)+45;
     ERA_D_FMT = (ABDAY_1)+46;
     ALT_DIGITS = (ABDAY_1)+47;
     ERA_D_T_FMT = (ABDAY_1)+48;
     ERA_T_FMT = (ABDAY_1)+49;
     _NL_TIME_ERA_NUM_ENTRIES = (ABDAY_1)+50;
     _NL_TIME_ERA_ENTRIES = (ABDAY_1)+51;
     _NL_WABDAY_1 = (ABDAY_1)+52;
     _NL_WABDAY_2 = (ABDAY_1)+53;
     _NL_WABDAY_3 = (ABDAY_1)+54;
     _NL_WABDAY_4 = (ABDAY_1)+55;
     _NL_WABDAY_5 = (ABDAY_1)+56;
     _NL_WABDAY_6 = (ABDAY_1)+57;
     _NL_WABDAY_7 = (ABDAY_1)+58;
     _NL_WDAY_1 = (ABDAY_1)+59;
     _NL_WDAY_2 = (ABDAY_1)+60;
     _NL_WDAY_3 = (ABDAY_1)+61;
     _NL_WDAY_4 = (ABDAY_1)+62;
     _NL_WDAY_5 = (ABDAY_1)+63;
     _NL_WDAY_6 = (ABDAY_1)+64;
     _NL_WDAY_7 = (ABDAY_1)+65;
     _NL_WABMON_1 = (ABDAY_1)+66;
     _NL_WABMON_2 = (ABDAY_1)+67;
     _NL_WABMON_3 = (ABDAY_1)+68;
     _NL_WABMON_4 = (ABDAY_1)+69;
     _NL_WABMON_5 = (ABDAY_1)+70;
     _NL_WABMON_6 = (ABDAY_1)+71;
     _NL_WABMON_7 = (ABDAY_1)+72;
     _NL_WABMON_8 = (ABDAY_1)+73;
     _NL_WABMON_9 = (ABDAY_1)+74;
     _NL_WABMON_10 = (ABDAY_1)+75;
     _NL_WABMON_11 = (ABDAY_1)+76;
     _NL_WABMON_12 = (ABDAY_1)+77;
     _NL_WMON_1 = (ABDAY_1)+78;
     _NL_WMON_2 = (ABDAY_1)+79;
     _NL_WMON_3 = (ABDAY_1)+80;
     _NL_WMON_4 = (ABDAY_1)+81;
     _NL_WMON_5 = (ABDAY_1)+82;
     _NL_WMON_6 = (ABDAY_1)+83;
     _NL_WMON_7 = (ABDAY_1)+84;
     _NL_WMON_8 = (ABDAY_1)+85;
     _NL_WMON_9 = (ABDAY_1)+86;
     _NL_WMON_10 = (ABDAY_1)+87;
     _NL_WMON_11 = (ABDAY_1)+88;
     _NL_WMON_12 = (ABDAY_1)+89;
     _NL_WAM_STR = (ABDAY_1)+90;
     _NL_WPM_STR = (ABDAY_1)+91;
     _NL_WD_T_FMT = (ABDAY_1)+92;
     _NL_WD_FMT = (ABDAY_1)+93;
     _NL_WT_FMT = (ABDAY_1)+94;
     _NL_WT_FMT_AMPM = (ABDAY_1)+95;
     _NL_WERA_YEAR = (ABDAY_1)+96;
     _NL_WERA_D_FMT = (ABDAY_1)+97;
     _NL_WALT_DIGITS = (ABDAY_1)+98;
     _NL_WERA_D_T_FMT = (ABDAY_1)+99;
     _NL_WERA_T_FMT = (ABDAY_1)+100;
     _NL_TIME_WEEK_NDAYS = (ABDAY_1)+101;
     _NL_TIME_WEEK_1STDAY = (ABDAY_1)+102;
     _NL_TIME_WEEK_1STWEEK = (ABDAY_1)+103;
     _NL_TIME_FIRST_WEEKDAY = (ABDAY_1)+104;
     _NL_TIME_FIRST_WORKDAY = (ABDAY_1)+105;
     _NL_TIME_CAL_DIRECTION = (ABDAY_1)+106;
     _NL_TIME_TIMEZONE = (ABDAY_1)+107;
     _DATE_FMT = (ABDAY_1)+108;
     _NL_W_DATE_FMT = (ABDAY_1)+109;
     _NL_TIME_CODESET = (ABDAY_1)+110;
     _NL_NUM_LC_TIME = (ABDAY_1)+111;
     _NL_COLLATE_NRULES = (__LC_COLLATE shl 16);
     _NL_COLLATE_RULESETS = (_NL_COLLATE_NRULES)+1;
     _NL_COLLATE_TABLEMB = (_NL_COLLATE_NRULES)+2;
     _NL_COLLATE_WEIGHTMB = (_NL_COLLATE_NRULES)+3;
     _NL_COLLATE_EXTRAMB = (_NL_COLLATE_NRULES)+4;
     _NL_COLLATE_INDIRECTMB = (_NL_COLLATE_NRULES)+5;
     _NL_COLLATE_GAP1 = (_NL_COLLATE_NRULES)+6;
     _NL_COLLATE_GAP2 = (_NL_COLLATE_NRULES)+7;
     _NL_COLLATE_GAP3 = (_NL_COLLATE_NRULES)+8;
     _NL_COLLATE_TABLEWC = (_NL_COLLATE_NRULES)+9;
     _NL_COLLATE_WEIGHTWC = (_NL_COLLATE_NRULES)+10;
     _NL_COLLATE_EXTRAWC = (_NL_COLLATE_NRULES)+11;
     _NL_COLLATE_INDIRECTWC = (_NL_COLLATE_NRULES)+12;
     _NL_COLLATE_SYMB_HASH_SIZEMB = (_NL_COLLATE_NRULES)+13;
     _NL_COLLATE_SYMB_TABLEMB = (_NL_COLLATE_NRULES)+14;
     _NL_COLLATE_SYMB_EXTRAMB = (_NL_COLLATE_NRULES)+15;
     _NL_COLLATE_COLLSEQMB = (_NL_COLLATE_NRULES)+16;
     _NL_COLLATE_COLLSEQWC = (_NL_COLLATE_NRULES)+17;
     _NL_COLLATE_CODESET = (_NL_COLLATE_NRULES)+18;
     _NL_NUM_LC_COLLATE = (_NL_COLLATE_NRULES)+19;
     _NL_CTYPE_CLASS = (__LC_CTYPE shl 16);
     _NL_CTYPE_TOUPPER = (_NL_CTYPE_CLASS)+1;
     _NL_CTYPE_GAP1 = (_NL_CTYPE_CLASS)+2;
     _NL_CTYPE_TOLOWER = (_NL_CTYPE_CLASS)+3;
     _NL_CTYPE_GAP2 = (_NL_CTYPE_CLASS)+4;
     _NL_CTYPE_CLASS32 = (_NL_CTYPE_CLASS)+5;
     _NL_CTYPE_GAP3 = (_NL_CTYPE_CLASS)+6;
     _NL_CTYPE_GAP4 = (_NL_CTYPE_CLASS)+7;
     _NL_CTYPE_GAP5 = (_NL_CTYPE_CLASS)+8;
     _NL_CTYPE_GAP6 = (_NL_CTYPE_CLASS)+9;
     _NL_CTYPE_CLASS_NAMES = (_NL_CTYPE_CLASS)+10;
     _NL_CTYPE_MAP_NAMES = (_NL_CTYPE_CLASS)+11;
     _NL_CTYPE_WIDTH = (_NL_CTYPE_CLASS)+12;
     _NL_CTYPE_MB_CUR_MAX = (_NL_CTYPE_CLASS)+13;
     _NL_CTYPE_CODESET_NAME = (_NL_CTYPE_CLASS)+14;
     CODESET = _NL_CTYPE_CODESET_NAME;
     _NL_CTYPE_TOUPPER32 = (_NL_CTYPE_CODESET_NAME)+1;
     _NL_CTYPE_TOLOWER32 = (_NL_CTYPE_CODESET_NAME)+2;
     _NL_CTYPE_CLASS_OFFSET = (_NL_CTYPE_CODESET_NAME)+3;
     _NL_CTYPE_MAP_OFFSET = (_NL_CTYPE_CODESET_NAME)+4;
     _NL_CTYPE_INDIGITS_MB_LEN = (_NL_CTYPE_CODESET_NAME)+5;
     _NL_CTYPE_INDIGITS0_MB = (_NL_CTYPE_CODESET_NAME)+6;
     _NL_CTYPE_INDIGITS1_MB = (_NL_CTYPE_CODESET_NAME)+7;
     _NL_CTYPE_INDIGITS2_MB = (_NL_CTYPE_CODESET_NAME)+8;
     _NL_CTYPE_INDIGITS3_MB = (_NL_CTYPE_CODESET_NAME)+9;
     _NL_CTYPE_INDIGITS4_MB = (_NL_CTYPE_CODESET_NAME)+10;
     _NL_CTYPE_INDIGITS5_MB = (_NL_CTYPE_CODESET_NAME)+11;
     _NL_CTYPE_INDIGITS6_MB = (_NL_CTYPE_CODESET_NAME)+12;
     _NL_CTYPE_INDIGITS7_MB = (_NL_CTYPE_CODESET_NAME)+13;
     _NL_CTYPE_INDIGITS8_MB = (_NL_CTYPE_CODESET_NAME)+14;
     _NL_CTYPE_INDIGITS9_MB = (_NL_CTYPE_CODESET_NAME)+15;
     _NL_CTYPE_INDIGITS_WC_LEN = (_NL_CTYPE_CODESET_NAME)+16;
     _NL_CTYPE_INDIGITS0_WC = (_NL_CTYPE_CODESET_NAME)+17;
     _NL_CTYPE_INDIGITS1_WC = (_NL_CTYPE_CODESET_NAME)+18;
     _NL_CTYPE_INDIGITS2_WC = (_NL_CTYPE_CODESET_NAME)+19;
     _NL_CTYPE_INDIGITS3_WC = (_NL_CTYPE_CODESET_NAME)+20;
     _NL_CTYPE_INDIGITS4_WC = (_NL_CTYPE_CODESET_NAME)+21;
     _NL_CTYPE_INDIGITS5_WC = (_NL_CTYPE_CODESET_NAME)+22;
     _NL_CTYPE_INDIGITS6_WC = (_NL_CTYPE_CODESET_NAME)+23;
     _NL_CTYPE_INDIGITS7_WC = (_NL_CTYPE_CODESET_NAME)+24;
     _NL_CTYPE_INDIGITS8_WC = (_NL_CTYPE_CODESET_NAME)+25;
     _NL_CTYPE_INDIGITS9_WC = (_NL_CTYPE_CODESET_NAME)+26;
     _NL_CTYPE_OUTDIGIT0_MB = (_NL_CTYPE_CODESET_NAME)+27;
     _NL_CTYPE_OUTDIGIT1_MB = (_NL_CTYPE_CODESET_NAME)+28;
     _NL_CTYPE_OUTDIGIT2_MB = (_NL_CTYPE_CODESET_NAME)+29;
     _NL_CTYPE_OUTDIGIT3_MB = (_NL_CTYPE_CODESET_NAME)+30;
     _NL_CTYPE_OUTDIGIT4_MB = (_NL_CTYPE_CODESET_NAME)+31;
     _NL_CTYPE_OUTDIGIT5_MB = (_NL_CTYPE_CODESET_NAME)+32;
     _NL_CTYPE_OUTDIGIT6_MB = (_NL_CTYPE_CODESET_NAME)+33;
     _NL_CTYPE_OUTDIGIT7_MB = (_NL_CTYPE_CODESET_NAME)+34;
     _NL_CTYPE_OUTDIGIT8_MB = (_NL_CTYPE_CODESET_NAME)+35;
     _NL_CTYPE_OUTDIGIT9_MB = (_NL_CTYPE_CODESET_NAME)+36;
     _NL_CTYPE_OUTDIGIT0_WC = (_NL_CTYPE_CODESET_NAME)+37;
     _NL_CTYPE_OUTDIGIT1_WC = (_NL_CTYPE_CODESET_NAME)+38;
     _NL_CTYPE_OUTDIGIT2_WC = (_NL_CTYPE_CODESET_NAME)+39;
     _NL_CTYPE_OUTDIGIT3_WC = (_NL_CTYPE_CODESET_NAME)+40;
     _NL_CTYPE_OUTDIGIT4_WC = (_NL_CTYPE_CODESET_NAME)+41;
     _NL_CTYPE_OUTDIGIT5_WC = (_NL_CTYPE_CODESET_NAME)+42;
     _NL_CTYPE_OUTDIGIT6_WC = (_NL_CTYPE_CODESET_NAME)+43;
     _NL_CTYPE_OUTDIGIT7_WC = (_NL_CTYPE_CODESET_NAME)+44;
     _NL_CTYPE_OUTDIGIT8_WC = (_NL_CTYPE_CODESET_NAME)+45;
     _NL_CTYPE_OUTDIGIT9_WC = (_NL_CTYPE_CODESET_NAME)+46;
     _NL_CTYPE_TRANSLIT_TAB_SIZE = (_NL_CTYPE_CODESET_NAME)+47;
     _NL_CTYPE_TRANSLIT_FROM_IDX = (_NL_CTYPE_CODESET_NAME)+48;
     _NL_CTYPE_TRANSLIT_FROM_TBL = (_NL_CTYPE_CODESET_NAME)+49;
     _NL_CTYPE_TRANSLIT_TO_IDX = (_NL_CTYPE_CODESET_NAME)+50;
     _NL_CTYPE_TRANSLIT_TO_TBL = (_NL_CTYPE_CODESET_NAME)+51;
     _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN = (_NL_CTYPE_CODESET_NAME)+52;
     _NL_CTYPE_TRANSLIT_DEFAULT_MISSING = (_NL_CTYPE_CODESET_NAME)+53;
     _NL_CTYPE_TRANSLIT_IGNORE_LEN = (_NL_CTYPE_CODESET_NAME)+54;
     _NL_CTYPE_TRANSLIT_IGNORE = (_NL_CTYPE_CODESET_NAME)+55;
     _NL_CTYPE_EXTRA_MAP_1 = (_NL_CTYPE_CODESET_NAME)+56;
     _NL_CTYPE_EXTRA_MAP_2 = (_NL_CTYPE_CODESET_NAME)+57;
     _NL_CTYPE_EXTRA_MAP_3 = (_NL_CTYPE_CODESET_NAME)+58;
     _NL_CTYPE_EXTRA_MAP_4 = (_NL_CTYPE_CODESET_NAME)+59;
     _NL_CTYPE_EXTRA_MAP_5 = (_NL_CTYPE_CODESET_NAME)+60;
     _NL_CTYPE_EXTRA_MAP_6 = (_NL_CTYPE_CODESET_NAME)+61;
     _NL_CTYPE_EXTRA_MAP_7 = (_NL_CTYPE_CODESET_NAME)+62;
     _NL_CTYPE_EXTRA_MAP_8 = (_NL_CTYPE_CODESET_NAME)+63;
     _NL_CTYPE_EXTRA_MAP_9 = (_NL_CTYPE_CODESET_NAME)+64;
     _NL_CTYPE_EXTRA_MAP_10 = (_NL_CTYPE_CODESET_NAME)+65;
     _NL_CTYPE_EXTRA_MAP_11 = (_NL_CTYPE_CODESET_NAME)+66;
     _NL_CTYPE_EXTRA_MAP_12 = (_NL_CTYPE_CODESET_NAME)+67;
     _NL_CTYPE_EXTRA_MAP_13 = (_NL_CTYPE_CODESET_NAME)+68;
     _NL_CTYPE_EXTRA_MAP_14 = (_NL_CTYPE_CODESET_NAME)+69;
     _NL_NUM_LC_CTYPE = (_NL_CTYPE_CODESET_NAME)+70;
     __INT_CURR_SYMBOL = (__LC_MONETARY shl 16);
     __CURRENCY_SYMBOL = (__INT_CURR_SYMBOL)+1;
     __MON_DECIMAL_POINT = (__INT_CURR_SYMBOL)+2;
     __MON_THOUSANDS_SEP = (__INT_CURR_SYMBOL)+3;
     __MON_GROUPING = (__INT_CURR_SYMBOL)+4;
     __POSITIVE_SIGN = (__INT_CURR_SYMBOL)+5;
     __NEGATIVE_SIGN = (__INT_CURR_SYMBOL)+6;
     __INT_FRAC_DIGITS = (__INT_CURR_SYMBOL)+7;
     __FRAC_DIGITS = (__INT_CURR_SYMBOL)+8;
     __P_CS_PRECEDES = (__INT_CURR_SYMBOL)+9;
     __P_SEP_BY_SPACE = (__INT_CURR_SYMBOL)+10;
     __N_CS_PRECEDES = (__INT_CURR_SYMBOL)+11;
     __N_SEP_BY_SPACE = (__INT_CURR_SYMBOL)+12;
     __P_SIGN_POSN = (__INT_CURR_SYMBOL)+13;
     __N_SIGN_POSN = (__INT_CURR_SYMBOL)+14;
     _NL_MONETARY_CRNCYSTR = (__INT_CURR_SYMBOL)+15;
     __INT_P_CS_PRECEDES = (__INT_CURR_SYMBOL)+16;
     __INT_P_SEP_BY_SPACE = (__INT_CURR_SYMBOL)+17;
     __INT_N_CS_PRECEDES = (__INT_CURR_SYMBOL)+18;
     __INT_N_SEP_BY_SPACE = (__INT_CURR_SYMBOL)+19;
     __INT_P_SIGN_POSN = (__INT_CURR_SYMBOL)+20;
     __INT_N_SIGN_POSN = (__INT_CURR_SYMBOL)+21;
     _NL_MONETARY_DUO_INT_CURR_SYMBOL = (__INT_CURR_SYMBOL)+22;
     _NL_MONETARY_DUO_CURRENCY_SYMBOL = (__INT_CURR_SYMBOL)+23;
     _NL_MONETARY_DUO_INT_FRAC_DIGITS = (__INT_CURR_SYMBOL)+24;
     _NL_MONETARY_DUO_FRAC_DIGITS = (__INT_CURR_SYMBOL)+25;
     _NL_MONETARY_DUO_P_CS_PRECEDES = (__INT_CURR_SYMBOL)+26;
     _NL_MONETARY_DUO_P_SEP_BY_SPACE = (__INT_CURR_SYMBOL)+27;
     _NL_MONETARY_DUO_N_CS_PRECEDES = (__INT_CURR_SYMBOL)+28;
     _NL_MONETARY_DUO_N_SEP_BY_SPACE = (__INT_CURR_SYMBOL)+29;
     _NL_MONETARY_DUO_INT_P_CS_PRECEDES = (__INT_CURR_SYMBOL)+30;
     _NL_MONETARY_DUO_INT_P_SEP_BY_SPACE = (__INT_CURR_SYMBOL)+31;
     _NL_MONETARY_DUO_INT_N_CS_PRECEDES = (__INT_CURR_SYMBOL)+32;
     _NL_MONETARY_DUO_INT_N_SEP_BY_SPACE = (__INT_CURR_SYMBOL)+33;
     _NL_MONETARY_DUO_P_SIGN_POSN = (__INT_CURR_SYMBOL)+34;
     _NL_MONETARY_DUO_N_SIGN_POSN = (__INT_CURR_SYMBOL)+35;
     _NL_MONETARY_DUO_INT_P_SIGN_POSN = (__INT_CURR_SYMBOL)+36;
     _NL_MONETARY_DUO_INT_N_SIGN_POSN = (__INT_CURR_SYMBOL)+37;
     _NL_MONETARY_UNO_VALID_FROM = (__INT_CURR_SYMBOL)+38;
     _NL_MONETARY_UNO_VALID_TO = (__INT_CURR_SYMBOL)+39;
     _NL_MONETARY_DUO_VALID_FROM = (__INT_CURR_SYMBOL)+40;
     _NL_MONETARY_DUO_VALID_TO = (__INT_CURR_SYMBOL)+41;
     _NL_MONETARY_CONVERSION_RATE = (__INT_CURR_SYMBOL)+42;
     _NL_MONETARY_DECIMAL_POINT_WC = (__INT_CURR_SYMBOL)+43;
     _NL_MONETARY_THOUSANDS_SEP_WC = (__INT_CURR_SYMBOL)+44;
     _NL_MONETARY_CODESET = (__INT_CURR_SYMBOL)+45;
     _NL_NUM_LC_MONETARY = (__INT_CURR_SYMBOL)+46;
     __DECIMAL_POINT = (__LC_NUMERIC shl 16);
     RADIXCHAR = __DECIMAL_POINT;
     __THOUSANDS_SEP = (__DECIMAL_POINT)+1;
     THOUSEP = __THOUSANDS_SEP;
     __GROUPING = (__THOUSANDS_SEP)+1;
     _NL_NUMERIC_DECIMAL_POINT_WC = (__THOUSANDS_SEP)+2;
     _NL_NUMERIC_THOUSANDS_SEP_WC = (__THOUSANDS_SEP)+3;
     _NL_NUMERIC_CODESET = (__THOUSANDS_SEP)+4;
     _NL_NUM_LC_NUMERIC = (__THOUSANDS_SEP)+5;
     __YESEXPR = (__LC_MESSAGES shl 16);
     __NOEXPR = ((__LC_MESSAGES shl 16))+1;
     __YESSTR = ((__LC_MESSAGES shl 16))+2;
     __NOSTR = ((__LC_MESSAGES shl 16))+3;
     _NL_MESSAGES_CODESET = ((__LC_MESSAGES shl 16))+4;
     _NL_NUM_LC_MESSAGES = ((__LC_MESSAGES shl 16))+5;
     _NL_PAPER_HEIGHT = (__LC_PAPER shl 16);
     _NL_PAPER_WIDTH = (_NL_PAPER_HEIGHT)+1;
     _NL_PAPER_CODESET = (_NL_PAPER_HEIGHT)+2;
     _NL_NUM_LC_PAPER = (_NL_PAPER_HEIGHT)+3;
     _NL_NAME_NAME_FMT = (__LC_NAME shl 16);
     _NL_NAME_NAME_GEN = (_NL_NAME_NAME_FMT)+1;
     _NL_NAME_NAME_MR = (_NL_NAME_NAME_FMT)+2;
     _NL_NAME_NAME_MRS = (_NL_NAME_NAME_FMT)+3;
     _NL_NAME_NAME_MISS = (_NL_NAME_NAME_FMT)+4;
     _NL_NAME_NAME_MS = (_NL_NAME_NAME_FMT)+5;
     _NL_NAME_CODESET = (_NL_NAME_NAME_FMT)+6;
     _NL_NUM_LC_NAME = (_NL_NAME_NAME_FMT)+7;
     _NL_ADDRESS_POSTAL_FMT = (__LC_ADDRESS shl 16);
     _NL_ADDRESS_COUNTRY_NAME = (_NL_ADDRESS_POSTAL_FMT)+1;
     _NL_ADDRESS_COUNTRY_POST = (_NL_ADDRESS_POSTAL_FMT)+2;
     _NL_ADDRESS_COUNTRY_AB2 = (_NL_ADDRESS_POSTAL_FMT)+3;
     _NL_ADDRESS_COUNTRY_AB3 = (_NL_ADDRESS_POSTAL_FMT)+4;
     _NL_ADDRESS_COUNTRY_CAR = (_NL_ADDRESS_POSTAL_FMT)+5;
     _NL_ADDRESS_COUNTRY_NUM = (_NL_ADDRESS_POSTAL_FMT)+6;
     _NL_ADDRESS_COUNTRY_ISBN = (_NL_ADDRESS_POSTAL_FMT)+7;
     _NL_ADDRESS_LANG_NAME = (_NL_ADDRESS_POSTAL_FMT)+8;
     _NL_ADDRESS_LANG_AB = (_NL_ADDRESS_POSTAL_FMT)+9;
     _NL_ADDRESS_LANG_TERM = (_NL_ADDRESS_POSTAL_FMT)+10;
     _NL_ADDRESS_LANG_LIB = (_NL_ADDRESS_POSTAL_FMT)+11;
     _NL_ADDRESS_CODESET = (_NL_ADDRESS_POSTAL_FMT)+12;
     _NL_NUM_LC_ADDRESS = (_NL_ADDRESS_POSTAL_FMT)+13;
     _NL_TELEPHONE_TEL_INT_FMT = (__LC_TELEPHONE shl 16);
     _NL_TELEPHONE_TEL_DOM_FMT = (_NL_TELEPHONE_TEL_INT_FMT)+1;
     _NL_TELEPHONE_INT_SELECT = (_NL_TELEPHONE_TEL_INT_FMT)+2;
     _NL_TELEPHONE_INT_PREFIX = (_NL_TELEPHONE_TEL_INT_FMT)+3;
     _NL_TELEPHONE_CODESET = (_NL_TELEPHONE_TEL_INT_FMT)+4;
     _NL_NUM_LC_TELEPHONE = (_NL_TELEPHONE_TEL_INT_FMT)+5;
     _NL_MEASUREMENT_MEASUREMENT = (__LC_MEASUREMENT shl 16);
     _NL_MEASUREMENT_CODESET = (_NL_MEASUREMENT_MEASUREMENT)+1;
     _NL_NUM_LC_MEASUREMENT = (_NL_MEASUREMENT_MEASUREMENT)+2;
     _NL_IDENTIFICATION_TITLE = (__LC_IDENTIFICATION shl 16);
     _NL_IDENTIFICATION_SOURCE = (_NL_IDENTIFICATION_TITLE)+1;
     _NL_IDENTIFICATION_ADDRESS = (_NL_IDENTIFICATION_TITLE)+2;
     _NL_IDENTIFICATION_CONTACT = (_NL_IDENTIFICATION_TITLE)+3;
     _NL_IDENTIFICATION_EMAIL = (_NL_IDENTIFICATION_TITLE)+4;
     _NL_IDENTIFICATION_TEL = (_NL_IDENTIFICATION_TITLE)+5;
     _NL_IDENTIFICATION_FAX = (_NL_IDENTIFICATION_TITLE)+6;
     _NL_IDENTIFICATION_LANGUAGE = (_NL_IDENTIFICATION_TITLE)+7;
     _NL_IDENTIFICATION_TERRITORY = (_NL_IDENTIFICATION_TITLE)+8;
     _NL_IDENTIFICATION_AUDIENCE = (_NL_IDENTIFICATION_TITLE)+9;
     _NL_IDENTIFICATION_APPLICATION = (_NL_IDENTIFICATION_TITLE)+10;
     _NL_IDENTIFICATION_ABBREVIATION = (_NL_IDENTIFICATION_TITLE)+11;
     _NL_IDENTIFICATION_REVISION = (_NL_IDENTIFICATION_TITLE)+12;
     _NL_IDENTIFICATION_DATE = (_NL_IDENTIFICATION_TITLE)+13;
     _NL_IDENTIFICATION_CATEGORY = (_NL_IDENTIFICATION_TITLE)+14;
     _NL_IDENTIFICATION_CODESET = (_NL_IDENTIFICATION_TITLE)+15;
     _NL_NUM_LC_IDENTIFICATION = (_NL_IDENTIFICATION_TITLE)+16;
     _NL_NUM = (_NL_IDENTIFICATION_TITLE)+17;

const
   ERA_YEAR = __ERA_YEAR;
   INT_CURR_SYMBOL = __INT_CURR_SYMBOL;
   CURRENCY_SYMBOL = __CURRENCY_SYMBOL;
   MON_DECIMAL_POINT = __MON_DECIMAL_POINT;
   MON_THOUSANDS_SEP = __MON_THOUSANDS_SEP;
   MON_GROUPING = __MON_GROUPING;
   POSITIVE_SIGN = __POSITIVE_SIGN;
   NEGATIVE_SIGN = __NEGATIVE_SIGN;
   INT_FRAC_DIGITS = __INT_FRAC_DIGITS;
   FRAC_DIGITS = __FRAC_DIGITS;
   P_CS_PRECEDES = __P_CS_PRECEDES;
   P_SEP_BY_SPACE = __P_SEP_BY_SPACE;
   N_CS_PRECEDES = __N_CS_PRECEDES;
   N_SEP_BY_SPACE = __N_SEP_BY_SPACE;
   P_SIGN_POSN = __P_SIGN_POSN;
   N_SIGN_POSN = __N_SIGN_POSN;
   INT_P_CS_PRECEDES = __INT_P_CS_PRECEDES;
   INT_P_SEP_BY_SPACE = __INT_P_SEP_BY_SPACE;
   INT_N_CS_PRECEDES = __INT_N_CS_PRECEDES;
   INT_N_SEP_BY_SPACE = __INT_N_SEP_BY_SPACE;
   INT_P_SIGN_POSN = __INT_P_SIGN_POSN;
   INT_N_SIGN_POSN = __INT_N_SIGN_POSN;
   DECIMAL_POINT = __DECIMAL_POINT;
   THOUSANDS_SEP = __THOUSANDS_SEP;
   GROUPING = __GROUPING;
   YESSTR = __YESSTR;
   NOSTR = __NOSTR;


function nl_langinfo(__item:nl_item):Pchar;cdecl;external clib name 'nl_langinfo';
function __nl_langinfo_l(__item:nl_item; l:__locale_t):Pchar;cdecl;external clib name '__nl_langinfo_l';


{ ---------------------------------------------------------------------
    Borland compatibility types
  ---------------------------------------------------------------------}

// Type
