In SCORE the command list_unit is used to display
information about the Ada compilation units which have been
compiled into a program library.
The list_unit command is equivalent to the SHOW
command in the DACS PLU. One thing that may be confusing when
moving from DACS to SCORE is that the SHOW command (and indeed
the PLU as a whole) has a SCOPE option which allows the user to
choose whether only to look (using DACS terms) in the current
sublibrary or to look at the whole program library (all
sublibraries from the current sublibrary to the root sublibrary)
whereas list_unit may seem not to offer the same
possibility.
But of course SCORE allows you to do the same thing! Actually
SCORE provides a more fine grained control than DACS.
The program library path specified to list_unit
decides which libraries (in SCORE terms) will be processed.
Imagine that you have a three level deep library structure
We assume that the default path of Stem is Root and the
default path of Branch is Stem. To list information about all
units in your libraries (corresponding to the DACS PLU command
SHOW with GLOBAL scope) you rely on the default library path
built into the libraries and use the command
$ list_unit -library Branch
To list information about the units in Branch alone
(corresponding to the DACS PLU command SHOW with LOCAL scope)
you override the default library path built into the libraries
with a single element path and use the command
$ list_unit -path Branch
To list information about the units in both Branch and Stem
but not in Root (this is what older versions of DACS did not
support) you override the default library path built into the
libraries with a path listing the individual libraries and use
the command
Customer Quote:
"While we are on the subject of support I would like to emphasize that Alex and Richard have been superb in their support of our project. We could not have gotten over our initial hurdles without them."