The Hyper Programming Language

Class ‘bool’

This is the class reference of built-in type bool.


sealed class bool : object

This class represents a boolean value.


procedure new()

Default constructor. Creates a boolean with value false.

procedure new(b : * bool)

Copy constructor.


procedure negate()

Negates the value of the boolean. true becomes false and false becomes true.


Warning: this is preliminary syntax with the purpose of documenting the operators of this class. Nothing official yet!

Unary Operators

const operator!() : bool

Logical NOT.

Binary Operators

not yet documented

Assignment Operators

operator=(b : bool)

Simple assignment operator.

See also

Valid HTML 4.01 Strict Valid CSS!