HPlogo Message Catalogs:Programmer's Guide: HP 3000 MPE/iX Computer Systems > Chapter 3 Accessing Application Message Catalogs

Closing a Catalog

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

CATCLOSE closes the message catalog specified by the catindex parameter. The syntax for the CATCLOSE intrinsic is:

  • CATCLOSE(catindex, catstatus)

The catindex parameter contains the value returned by the CATOPEN intrinsic that identifies the message catalog. The first element of catstatus returns the error number that tells if the call was successful.

Closing the example catalog using the CATCLOSE intrinsic is done as follows:

     var 

       Catstatus  : packed array [1..2] of SHORTINT; 

       Catindex   : INTEGER:  {Returned by CATOPEN} 



       CATCLOSE (Catindex, Catstatus); 

For detailed information about the CATCLOSE intrinsic, refer to the MPE/iX Intrinsics Reference Manual (32650-90028).

Feedback to webmaster