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

NLAPPEND

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

NM and CM callable.

Appends a language ID number to a file name that allows an application to designate which language-dependent file to use.

Syntax



            CA           I16V     U16A
  NLAPPEND (formaldesig, langnum, error);

Parameters


formaldesig

character array (required)

Passes and returns a formal file designator. When passed, the file name must end with three blanks. When returned, the language ID has been appended to the name.

langnum

16-bit signed integer by value (required)

Contains the language ID number, specifying the catalog to be opened.

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
3Invalid file name
4File name not terminated by three blanks
5*NLS internal error
6*NLS internal error

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

Related Information


Intrinsics CATCLOSE, CATOPEN, CATREAD
Manuals Native Language Programmer's Guide




MYCOMMAND


NLCOLLATE