HP 9000 200 Series Manual page 97

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

Cataloging to a String Array (Requires MS Binary)
You can also send a catalog to a string array, as shown in the following example program
segment:
170 DIM Str_array$(l:40) [80]
180 CAT TO Str_array$(*)
190
40 lines of 80 columns each.
Send catalog to string.
See the "Data Storage and Retrieval" chapter of BASIC Programming Technz'ques for
further information on catalogs sent to string arrays.
Cataloging Individual PROG Files (Requires MS Binary)
Performing CAT operations on an individual PROG file returns additional information
about the file. A catalog of a PROG files yields the following information:
• A list of the binary program ( s) contained in the program file and the size of each
(in bytes)
• The size of the main program (in bytes).
• A list of contexts (SUB and FN subprograms) and their sizes (in bytes)
Using Directories and Files
5-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents