Availability:built-in
set_module(:Property)Modify properties of the module. Currently, the following properties may
be modified:
- base(+Base)
- Set the default import module of the current module to Module.
Typically, Module is one of
user
or system
.
See
section 6.10.
- class(+Class)
- Set the class of the module. See module_property/2.
- program_space(+Bytes)
- Maximum amount of memory used to store the predicates defined inside the
module. Raises a permission error if the current usage is above the
requested limit. Setting the limit to 0 (zero) removes the limit. An
attempt to assert clauses that causes the limit to be exceeded causes a
resource_error(program_space)
exception. See assertz/1
and
module_property/2.