logtalk_load/1


Description

logtalk_load(Entities)

Compiles to disk and then loads to memory a list of Logtalk entities (objects, protocols or categories) using the default compiler options specified in the Logtalk configuration file. The Logtalk file name extension (by default, .lgt) should be omitted. Note that the argument is a list of entity/file names, not file paths.

Template and modes

logtalk_load(+atom_list)

Errors

Entities is a variable:
instantiation_error
Entities is neither a variable nor a proper list:
type_error(list, Entities)
One of the entities is not an atom:
type_error(atom, Entity)
One of the entities does not exist in the current working directory:
existence_error(entity, Entity)

Examples

| ?- logtalk_load([tree]).

| ?- logtalk_load([listp, list]).

Previous | Next | Table of Contents | Bibliography | Glossary

Last updated on: October 1, 2000