• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

6.15 Module properties
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Modules
        • Module properties
          • current_module/1
          • module_property/2
          • set_module/1
    • Packages
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.
ClioPatria (version V3.1.1-51-ga0b30a5)