The Hyper Programming Language |
home | language reference | compiler | hyper on launchpad |
This is the class reference of built-in type byte.
sealed class byte : object
This class represents an unsigned 8-bit integer.
procedure new()
Default constructor. Creates a byte with value 0.
procedure new(b : byte)
Copy constructor.
none
Warning: this is preliminary syntax with the purpose of documenting the operators of this class. Nothing official yet!
const operator+() : byte
Unary plus.
const operator-() : int16
Unary minus.
const operator++() : byte
Successor.
const operator--() : byte
Predecessor.
not yet documented
operator++()
Increment operator.
operator--()
Decrement operator.
operator=(b : byte)
Simple assignment operator.
operator+=(b : byte)
Add-assign operator.
operator-=(b : byte)
Subtract-assign operator.
operator*=(b : byte)
Multiply-assign operator.
operator/=(b : byte)
Divide-assign operator.
operator%=(b : byte)
Modulo-assign operator.