home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
i18nv102.zip
/
DOC
/
GENCAT.DOC
< prev
next >
Wrap
Text File
|
1995-08-28
|
2KB
|
63 lines
gencat Command
--------------
Purpose
-------
Creates and modifies a message catalog.
Syntax
------
gencat CatalogFile [ SourceFile ... ]
Description
-----------
The gencat command can be used to create a message catalog (usu-
ally *.cat) from a message text source file (usually *.msg).
If a message catalog with the name specified by the CatalogFile
parameter exists, the gencat command modifies it according to the
statements in the specified message source files. If it does not
exist, the gencat command creates a catalog file with the name
specified by the CatalogFile parameter.
You can specify any number of message source files. The gencat
command processes multiple source files, one after another, in
the sequence specified. Each successive source file modifies the
catalog. If you do not specify a source file, the gencat command
accepts message source data from standard input.
The gencat command does not accept symbolic message identifiers.
You must run the mkcatdefs command if you want to use symbolic
message identifiers.
After entering your messages into a source file, you must use the
gencat command to process the source file to create a message ca-
talog.
Examples
--------
To generate a test.cat catalog from the source file test.msg,
enter:
gencat test.cat test.msg
The test.msg file does not contain symbolic identifiers.
Related Information
-------------------
The mkcatdefs command, runcat command.
The catclose subroutine, catgets subroutine, catopen subrou-
tine.