Base
Base class for all objects
Operations
GetClass
Returns the class associated with this instance
method : public : GetClass() ~ Introspection.ClassReturn
| Type | Description |
|---|---|
| Introspection.Class | associated with this instance |
GetClassID
Returns the unique class ID
method : public : GetClassID() ~ IntReturn
| Type | Description |
|---|---|
| Int | unique class ID |
GetInstanceID
Returns the unique instance ID
method : public : GetInstanceID() ~ IntReturn
| Type | Description |
|---|---|
| Int | unique instance ID |
Otherwise
Compiler intrinsic: returns the receiver if non-Nil, otherwise returns the default value.
method : public : Otherwise(default:Base) ~ BaseParameters
| Name | Type | Description |
|---|---|---|
| default | Base | default value to return if receiver is Nil |
Return
| Type | Description |
|---|---|
| Base | receiver if non-Nil, otherwise default |
Try
Compiler intrinsic: wraps subsequent chain calls in error recovery. Returns Nil if the following method call raises an error.
method : public : Try() ~ BaseReturn
| Type | Description |
|---|---|
| Base | result of the following method call, or Nil on error |