v2026.6.4
All Bundles
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.

BasicCompare

Provides rudimentary compare functionality

Implements: Compare

Operations

Compare #

Compares two objects

method : public : Compare(rhs:System.Compare) ~ Int

Parameters

NameTypeDescription
rhsComparecompare object

Return

TypeDescription
Int0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater

HashID #

Returns the class default hash ID

method : public : HashID() ~ Int

Return

TypeDescription
Inthash ID

New # constructor

Default constructor

New()