display or modify lookup priority of a library - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Libraries and Packages : LibraryTools : LibraryTools/Priority

LibraryTools[Priority] - display or modify lookup priority of a library

Calling Sequence

Priority( archive, priority )

Parameters

archive

-

string; Maple library or directory containing Maple libraries

priority

-

(optional) integer; lookup priority of the library

Description

• 

The Priority( archive, priority) calling sequence displays or modifies lookup priority of a library specified in archive. For more details on library lookup priority, see march.

• 

If archive is a directory, priority numbers of all the libraries in that directory are displayed. Otherwise, if archive is a file that is a Maple library (has the extension .lib or .mla), then just the priority number of that library is displayed. An error is raised if the path specified by archive does not exist.

• 

The optional priority specifies the new lookup priority to be assigned to the library and the new lookup priority is displayed. When priority is not given, the lookup priority of the library is displayed but remains unchanged.

Examples

withLibraryTools:

LibLocation:=catkerneloptsmapledir,/lib/myLib.mla

CreateLibLocation

PriorityLibLocation

PriorityLibLocation,999

See Also

LibraryTools, LibraryTools[Create], LibraryTools[Timestamp], LibraryTools[WriteMode], march


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam