Contents | Prev | Next | Index


SYSTEM Function Procedures

Name Argument types Result type Function
ADR(v) any PTR address of variable v
LSH(x,n) x : integer,CHAR,BYTE
n : integer
type of x logical shift
ROT(x,n) x : integer,CHAR,BYTE
n : integer
type of x rotation
VAL(T,x) T,x : any type T x interpreted as of type T,
with Java restrictions

Notice that, unlike other Oberon-2 implementations, the function ADR returns a PTR and not a LONGINT. Also, this compiler has no SYSTEM functions for BIT and CC.


Contents | Prev | Next | Index

Canterbury Oberon-2 for Java  (Last documentation update Feb 8, 2000)
Copyright © 1998 Mill Hill & Canterbury Corporation, Ltd. All rights reserved
Please send any comments or corrections to mhc@webcom.com