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

Online Help

All Products    Maple    MapleSim


LibraryTools

  

Priority

  

display or modify lookup priority of a library

 

Calling Sequence

Parameters

Description

Examples

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:

LibLocationcatkerneloptsmapledir,/lib/myLib.mla

CreateLibLocation

PriorityLibLocation

PriorityLibLocation,999

See Also

LibraryTools

LibraryTools[Create]

LibraryTools[Timestamp]

LibraryTools[WriteMode]

march