ShowContents - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


LibraryTools

  

ShowContents

  

list library contents

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ShowContents( lib )

Parameters

lib

-

(optional) string; directory or file name to search for Maple libraries

Description

• 

The ShowContents(lib) command returns a list containing the contents of a library or libraries in a specified file or directory. If the lib argument is omitted, then the contents of all libraries referred to by libname are returned.

• 

The list of contents returned contains a sub-list for each named entry in the specified library path.  Each sublist contains the following information.

1. 

Member name, as a string

2. 

Date and time, as a list of integers specifying the year (all four digits), month (1..12), day (1..31), hour (0..23), minute (0..59), and second (0..59)

3. 

Offset, as an integer

4. 

Member size in bytes, as an integer

• 

If no libraries exist in the specified directory, an error is generated.

Examples

libraryFileTools:-JoinPathlib,MatlabSymbolicToolbox.mla,base=mapledir:

LibraryTools:-ShowContentslibrary

MTM.m,2024,2,29,22,26,31,162857,5236

(1)

See Also

libname

LibraryTools

march