Contents | Prev | Next | Index


SYSTEM Function Procedures

The SYSTEM function procedures provide basic runtime services and low-level facilities. Some are generic and are expanded like macros during compilation. Others are implemented as genuine procedures in the SYSTEM implementation module. In this compiler all standard-functions have their origin in the SYSTEM module as well.

The following non-standard function procedures are available:

Name Description
generic LEN( a, n ) length of a in dimension n
generic LEN( a ) LEN(a,0)
generic TSIZE( T ) size of unstructured type T
generic DSIZE( a, n ) number of elements of a in dimension n
generic DSIZE( a ) DSIZE(a,0)
generic ADR( x ) address of structured variable x
generic currentFile( ) string with name of current source file
generic currentLine( ) current source line number
PROCEDURE GetExitProc( ) : PROC get currently registered exit procedure


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