Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » loadedFiles
next | previous | forward | backward | up | index | toc

loadedFiles

Description

After each source file is successfully loaded, the full path to the file is stored in the hash table loadedFiles. It is stored as the value, with the corresponding key being a small integer, consecutively assigned, starting at 0.

i1 : loadedFiles#0

o1 = /usr/local/share/Macaulay2/
     Core/version.m2
i2 : #loadedFiles

o2 = 1512

See also

For the programmer

The object loadedFiles is a mutable hash table.


The source of this document is in Macaulay2Doc/ov_system.m2:1879:0.