create/2
predicate. A create
message is a kind of send message.
destroy/1
predicate. A destroy message
is a kind of send message.
SICStus Objects allows direct access to a class's slots
only within its method definitions, via the
fetch_slot/2
and store_slot/2
predicates.
Object Operator Message
>>
<<
<-
<-/2
, <</2
or >>/2
as the
principal functor of its head, and it can only appear
within the scope of its class's definition. A method's
definition may contain more than one message clause.
protected
is similar to protected
in C++.
public
,
protected
, or private
. By default, if no visibility is
specified, a slot is private.