HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Intrinsics Reference Manual > Chapter 4 Command Definitions

NLAPPEND

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

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

Related Information

Intrinsics

CATCLOSE, CATOPEN, CATREAD

Commands

None

Manuals

Native Language Programmer's Guide (32650-90022)

Feedback to webmaster