Re: [ooc-compiler] SYSTEM module documentation
Brought to you by:
mva
|
From: August <fus...@co...> - 2005-02-18 03:32:15
|
On fre, 2005-02-18 at 10:30 +0800, Stewart Greenhill wrote: > The module SYSTEM is documented in the Oberon-2 language report. The procedures BIT, CC and GET does not seem to be present (The March 1995 ed. of the language report also mentions GETREG and PUTREG and these are not present either). If I have a CHAR I can e.g. inspect the second rightmost bit with: x: CHAR; ... IF ODD(ORD(SYSTEM.LSH(x, -1)) THEN ... ELSE ... END but how do I do that with a BYTE? -- August |