v2026.5.3
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.

Bool

Boolean class

Operations

Columns # function

Returns the number of columns in the matrix

function : Columns(matrix:Bool[,]) ~ Int

Parameters

NameTypeDescription
matrixBoolmatrix to process

Return

TypeDescription
Intnumber of columns in the matrix

Error # function

Prints an error boolean value

function : Error() ~ Nil

ErrorLine # function

Prints an error boolean value with a newline

function : ErrorLine() ~ Nil

Flip # function

Pseudo random coin flip

function : Flip() ~ Bool

Return

TypeDescription
Booltrue or false

Print # function

Prints a boolean value

function : Print() ~ Nil

PrintLine # function

Prints a boolean value with a newline

function : PrintLine() ~ Nil

Rows # function

Returns the number of rows in the matrix

function : Rows(matrix:Bool[,]) ~ Int

Parameters

NameTypeDescription
matrixBoolmatrix to process

Return

TypeDescription
Intnumber of rows in the matrix

ToString # native

Formats the boolean value into a string

function : native : ToString() ~ String

Return

TypeDescription
Stringstring value

ToString # native

Formats the boolean array into a string

function : native : ToString(b:Bool[]) ~ String

Parameters

NameTypeDescription
bBoolboolean array

Return

TypeDescription
Stringstring value

ToString # function

Returns a string representation of the boolean array

function : ToString(v:Bool[,]) ~ String

Parameters

NameTypeDescription
vBoolboolean array

Return

TypeDescription
Stringstring representation of the boolean array