Contents | Prev | Next | Index
Name | Function |
DEC(v) | v := v - 1 |
DEC(v,n) | v := v - n |
EXCL(v,x) | v := v - {x} |
HALT | terminate program |
INC(v) | v := v + 1 |
INC(v,n) | v := v + n |
INCL(v,x) | v := v + {x} |
NEW(v) | allocate v^ |
NEW(v,n0,...,nn) | allocate v^ with lengths n0..nn |
NEW(v,x0,..,xn) | allocate v^, then call a constructor with actual parameters x0..xn |
DISPOSE(v) | v := NIL |
Notice that this compiler also supports a version of NEW(v,x0,..,xn) where xi are the actual parameters for a Java constructor.
Contents | Prev | Next | Index
Canterbury Modula-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