save_modules/2
save_modules(
+Modules,
+File)
Saves all predicates in Modules in PO format to File.
An atom representing a current module, or a list of such atoms
representing a list of modules.
A file specification, ‘.po’ extension optional.
The module declarations, predicates, multifile clauses and initializations belonging to Modules are saved in object format into the file denoted by File. Source file information and embedded directives (except initializations) are not saved.
The
PO file produced can be loaded using load_files/[1,2]
.
When multiple modules are saved into a file, loading that file will
import only the first of those modules into the module in which the
load occurred.
instantiation_error
type_error
permission_error
existence_error
load_files/[1,2]
, ref-sls, ref-sls-ssl.