-1
Q:

prolog assert

% inserts a fact into the database
% deprecated
assert(+Term).

% inserts a fact in the beginning of the database
asserta(+Term).

% inserts a fact in the end of the database
assertz(+Term).

% example
asserta(macaco('gorila')).
3

New to Communities?

Join the community