Remove one or several modules from the autoload system
nbDel = atomsAutoloadDel(modules) nbDel = atomsAutoloadDel(modules, section)
m x 1, m x 2 or m x 3 matrix of strings
| 1st Col. (Mandatory) | 2nd Col. (Optional) | 3rd Col. (Optional) |
|---|---|---|
| Technical Name | Version: If this field is empty or is not present, the most recent version is used. | Installed section: If this field is empty or is not present,
and modules is installed in both "user" and
"allusers" sections, the section of autoload list is used. |
This argument controls the list of sections where search modules(s) to remove from autoload system.
section is a single-string and its value should be :
"all": module(s) to remove from autotoload list
are searched in both "user" and "allusers" sections.
"allusers": module(s) to remove from autotoload
system are only searched in the "allusers" autoload list.
"user": module(s) to remove from autotoload
system are only searched in the "user" autoload list.
If SCI is write accessible, "all" is the default value. Otherwise, the default value is "user".
An integer : the number of modules successfully removed from the autoload system.
atomsAutoloadDel removes one or several modules from the
autoload system.
// Load the test repository exec("SCI/modules/atoms/tests/unit_tests/atomsTestUtils.sce", -1); repository = atomsCreateTestRepository("scene10"); atomsInstall("toolbox_5V6","user"); atomsAutoloadList() atomsAutoloadDel("toolbox_5V6"); atomsAutoloadList() atomsAutoloadAdd(["toolbox_5V6" "1.0" "user"],"user"); atomsAutoloadList() atomsAutoloadDel(["toolbox_5V6" "1.0"]); atomsAutoloadList() atomsAutoloadAdd(["toolbox_5V6" "1.0" "user"],"user"); atomsAutoloadList() atomsAutoloadDel(["toolbox_5V6" "1.0" "user"]); atomsAutoloadList() atomsAutoloadAdd(["toolbox_5V6" "1.0" "user"],"user"); atomsAutoloadList() atomsAutoloadDel(["toolbox_5V6" "1.0" "user"],"user"); atomsAutoloadList() // Cleaning atomsRemove("toolbox_5V6","user"); atomsRepositoryDel(repository); atomsSystemUpdate(); | ![]() | ![]() |