[Oberon] Negative integer literals in Oberon

Jörg joerg.straube at iaeth.ch
Mon Apr 27 22:10:25 CEST 2020


>    ASSERT(0FFFFFFFFH = -1) (*require two's complement *)

On strict compilers this statement does not even compile as 0FFFFFFFFH is not a valid INTEGER.

Could somebody give me a good example, where INTEGERs need a hex notation?

br
Jörg


More information about the Oberon mailing list