Contents | Prev | Next | Index


SYSTEM Proper Procedures

Name Argument types Function
INLINE(java_code) Java source code Insert Java source code
NEW(v) v : any pointer allocate memory,
assign its address to v
NEW(v,e0,...,en) v : any pointer
e0..en : integer
allocate memory for n-dimensional array,
assign its address to v
NEW(v,constructor_call) v : any record pointer
constructor_call
allocate memory,
assign its address to v,
call v.constructor_id(...)

Notice that, unlike in other Oberon-2 implementations, the following procedures are not implemented: GET, PUT, GETREG, PUTREG, and MOVE. Also, procedure NEW in this compiler is a standard generic procedure.


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