Contents | Prev | Next | Index


Matching Formal Parameter Lists

Two formal parameter lists match if

  1. they have the same number of parameters, and
  2. they have either the same function result type or none, and
  3. parameters at corresponding postions have same types and identical names (if there), and
  4. parameters at corresponding positions are both either value or variable parameters.


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