Page of 234

HP 9000 User Manual Page 126

Computers.
Hide thumbs

Advertisement

A typical use would be:
insertmsg prog.str
>
prog.msg
If the prog. str file were created from the source file prog. c, the new source
file would then be nl_prog. c.
Selected
'c'
Program Lines
prlntf (" Please enter your birthday (in the form MM/DD/yv); \ n ");
num_read
=
scanf ("%d/%d/%d", &month, &day, &year);
message no.
se number-
Pre - insertmsg
catalog _
default
,. string
descriptor
"
"
"
"
printf (catgets (nlmsg_fd, NL_SETN,2, "Please enter your birthday (in the form MM/DD/yv); \n "";
Note
Post - insertmsg
Figure 7-6. Using the insertmsg Command
The findstr and the insertmsg command will not recognize
the problem cases identified in the "Special Considerations"
section in this chapter, and they will convert them without
comment. Some of these conversions will draw a syntax error
from the compiler; others will give incorrect results with no
indication. The recommended strategy is to let the compiler
find the syntax errors and to review the remaining conversions.
The Message Catalog System
7-19
7

Advertisement

   Related Manuals for HP 9000

Comments to this Manuals

Symbols: 0
Latest comments: