| Did you know ... | Search Documentation: |
| class<-instance |
<-alloc_value
of the corresponding variable
object.variable -initial_value), execute these funcions and assign
the slot values.->initialise
to the new object with the arguments given to this method.->initialise
fails, the exception
initialise_failed is raised using pce->exception.
The context parameter is the (incomplete) object reference.->initialise
succeeds, class<-instance
returns the new object.
NOTE: pce<-instance
is an alternative for creating objects. This gate has two advantages:
type conversion allows you to specify the class-name
rather than the class, and -if the class does not yet exist-, an
exception is raised allowing the class autoloading to create it. See
also class create and new/2
<-convert ->exception ->initialise <-instance -created_messages