A programme to change libraries, which also lists the function names of an available library.
To be completed, a translation of Borland C++ 5 into other languages should at least have found a proper notion to each of these function names. For future tools of this kind, a switch would be important, which also lists all function parameters due to ANSI standard, thus the generating of own header files would be simplified, the best alike also for function names with extended character coding (8, 16, and more bit).
The possible control parameters are ascertained by a call (without arguments) of:
tlib.exewhere the English explanation reads the following:
tlib 4.00 Copyright © 1987, 1997 Borland International
Syntax: tlib library_name [/C] [/E] [/P] [/0] commands, list_file
library_name search path of the library file commands command sequence to be performed (if needed) list_file file name for the listing file (if needed)
A command is of the form: <operation>module_name, where <operation> can be:
+ add a module name to the library - remove a module name from the library * extract a module name without removing it -+ or +- replace a module name in the library -* or *- extract a module name and remove it /C case-sensitive library /E generate an extended dictionary /PSIZE set the library page size to SIZE /0 purge comment records
Use @file_path to continue from file "file_path".
Use '&' at the end of a line to continue onto the next line.
Whether in case of a translation of this programme into other languages also all option characters are to be translated, can be discussed.
The following calls generate a list file cw32mt.lst, which lists the contents of the library cw32mt.lib, without changing the original:
md \Borland\BC5\Lib\List
copy \Borland\BC5\Lib\cw32mt.lib \Borland\BC5\Lib\List
tlib.exe \Borland\BC5\Lib\List\cw32mt.lib /E ,\Borland\BC5\Lib\List\cw32mt.lst
grep.com (next contribution) | Table of Contents | cpp32.exe (previous contribution) |
Deutsche Fassung | Esperanta versio |