| Did you know ... | Search Documentation: |
| pce<-answer_stack_size |
answer
stack. They are deleted from this stack iff
->lock_objected
(or given a named reference)Both event-call-back and the execution of a PCE method mark and rewind this stack. Thus
?- new(X, point).
Creates a point and leaves it on the answer-stack, while
?- [user]. create_point :- new(X, point). ^D ?- send(@prolog, create_point).
Creates a point, pushes it on the answer-stack. Then rewinds this
stack on exit of the host->create_point,
garbage collection the point
object. Thus
?- pceusage(send(@prolog, create_point)).