The Hyper Programming Language |
home | language reference | compiler | hyper on launchpad |
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!
const operator!() : bool
Logical NOT.
not yet documented
operator=(b : bool)
Simple assignment operator.