The file PACKAGENAME.m2 should be on the load path and should contain a package named PACKAGENAME.
If the variable notify is set to true, then an informational message is displayed after the file is loaded.
i1 : notify = true o1 = true |
i2 : loadPackage "FirstPackage" --database not present: /home/dan/src/M2-1.3/BUILD/dan/builds.tmp/ubuntu32.production/StagingArea/i486-Linux-Ubuntu-9.04/lib/Macaulay2/i486-Linux-Ubuntu-9.04/FirstPackage/cache/rawdocumentation-dcba-4.db --beginDocumentation: reading the rest of /home/dan/src/M2-1.3/Macaulay2/packages/FirstPackage.m2 --package "FirstPackage" loaded --loaded /home/dan/src/M2-1.3/Macaulay2/packages/FirstPackage.m2 o2 = FirstPackage o2 : Package |