Contents | Prev | Next | Index
A method is made dynmaic by including a DYNAMIC keyword in its declaration. Dynamic methods are semantically identical to virtual methods. In Canterbury Pascal, virtual and dynamic methods do not differ in the implementation of method call dispatching at runtime. They are always mapped to Java-virtual methods. The only reason for supporting the DYNAMIC keyword is to offer compatibility with other Pascal compilers, especially Borland Object Pascal.
Contents | Prev | Next | Index
Canterbury Pascal for JVM (Last documentation update
Sep 02, 2004)
Copyright © 1999-2004 J.Neuhoff - mhccorp.com
. All rights reserved.
Please send any comments or corrections to
neuhoff@mhccorp.com