Bundle Core runtime library providing primitive types (Bool, Byte, Char, Int, Float, String), base collections, and system utilities. Every Objeck program links against this bundle automatically via lang.obl.
BoolRef
Holds a boolean value
Operations
Clone #
Clones the object instance
method : public : Clone() ~ System.BoolRefReturn
| Type | Description |
|---|---|
| BoolRef | cloned the object instance |
Compare # native
Compares two objects
method : public : native : Compare(rhs:System.Compare) ~ IntParameters
| Name | Type | Description |
|---|---|---|
| rhs | Compare | compare object |
Return
| Type | Description |
|---|---|
| Int | 0 if equal, -1 if types differ, 1 if equal |
FromArray # function
Creates an array of references from primitives
function : FromArray(input:Bool[]) ~ BoolRef[]Parameters
| Name | Type | Description |
|---|---|---|
| input | Bool | array of primitives |
Return
| Type | Description |
|---|---|
| BoolRef | an array of references |
HashID #
Returns a unique hash ID for a boolean
method : public : HashID() ~ IntReturn
| Type | Description |
|---|---|
| Int | hash ID |