HPlogo MPE/iX Intrinsics Reference Manual > Chapter 9 Command Definitions (MAIL-PUTJCW)

NLINFO

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

NM and CM callable.

Returns language-dependent information. The type of information that can be obtained includes:
  • Calendar format

  • Date and time format

  • Currency

  • Collating

  • Translation

  • Character set

Syntax



          I16V     *     I16      U16A
  NLINFO (itemnum, item, langnum, error);

Parameters


itemnum

16-bit signed integer by value (required)

Contains the item to be returned.

item

type of variable depends on itemnum (required)

Returns information requested or the language name or number requested. The Itemnum/Mnemonic section lists the defined itemnum/data type (mnemonic) pairs, and a description of the information returned to item.

langnum

16-bit signed integer by reference (required)

Contains the language ID number, for the information requested, except for NLINFO itemnums 22 and 24. For NLINFO itemnum= 22, the language ID number is returned in langnum; for NLINFO itemnum= 24, the character set ID number is returned in langnum.

error

16-bit unsigned integer array (required)

Returns two elements: the first element is the error number; the second element is reserved and always returns 0. The possible error number values are:

ValueMeaning
0Successful
1*NLS not installed
2*Specified language not configured
3*Specified character set not configured
4No national table present
5*NLS internal error
6*NLS internal error
7-9Reserved for the operating system
10Itemnum out of range

* Does not apply to calls with a langnum equal to 0 (NATIVE3000/XL).


NLINFO Itemnum Values

Related Information


Intrinsics ALMANAC, NLGETLANG
Manuals Native Language Programmer's Guide




NLGETLANG


NLJUDGE