Contents | Prev | Next | Index
Name | Argument types | Function |
COPY(x,v) | x : character array,string v : character array |
v := x |
DEC(v) | integer type | v := v - 1 |
DEC(v,n) | v,n : integer type | v := v - n |
EXCL(v,x) | v : SET x : integer type |
v := v - {x} |
HALT(x) | integer constant | terminate program |
INC(v) | integer type | v := v + 1 |
INC(v,n) | v,n : integer type | v := v + n |
INCL(v,x) | v : SET x : integer type |
v := v + {x} |
NEW(v) | pointer to record or fixed array | allocate v^ |
NEW(v,n0,..,nn) | v : pointer to open array ni : integer type |
allocate v^ with lengths n0..nn |
NEW(v,x0,..,xn) | v : pointer to record xi : constructor parameter |
allocate v^, then call a constructor with actual parameters x0..xn |
COPY allows the assignment between (open) character arrays with different types. If necessary, the source is shortened to the target length minus one. The target is always terminated by the character 0X. In HALT(x), the interpretation of x is left to the underlying operating system. 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 Oberon-2 for JVM (Last documentation update
Jun 2, 2000)
Copyright © 1998 Mill Hill &
Canterbury Corporation, Ltd. All rights reserved
Please send any comments or corrections to
mhc@webcom.com