HP 9000 User Manual page 9

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

7.
The Message Catalog System
Creating and Using a Message Catalog System
7-2
Programming for Messages .
7-3
Opening a Message Catalog with catopen
7-3
Recommended Initialization
7-4
Search Path and Naming Conventions
7-6
Retrieving Messages .
7-7
Closing a Message Catalog
7-8
Default Messages
7-8
Compiling and Linking
7-9
Creating aNew Message Catalog
7-9
The Message Text Source File
7-9
Compiling a Message Catalog .
7-11
An Example of Programming with Message Catalogs
7-11
Special Considerations for Messaging
7-12
Libraries with Messages
7-15
Conversion of Existing Programs for NLS Messaging
7-16
Step 1. Finding Strings in a Program
7-17
Step 2. Removing Non-Messages from the Strings.
7-18
Step 3. Inserting catgets Calls
7-18
Step 4. Editing the Modified Source Program
7-20
Step 5. Editing the Message Text Source File.
7-20
Step 6. Creating a Message Catalog .
7-20
Testing a Message Catalog
7-21
Installing a Message Catalog
7-22
Source Code Management
7-22
Keeping nl_prog.c Files
7-22
Multi -file Programs
7-22
Adding a Message to a Messaging Program .
7-23
U sing "make" Files
7-24
Guidelines for Using Messaging
7-25
Contents-4

Advertisement

Table of Contents
loading

Table of Contents