Contents | Prev | Next | Index
The purpose of a function call is to activate a function specified by a function identifier, a method designator, or a procedural-typed variable designator. If the declared function has a formal parameter list, the function call must have a matching list of actual parameters. Each parameter takes the place of the corresponding formal parameter. The following portion of the language grammar shows the syntax for function calls as used in factors which are are part of an expression:
factor ::= primary |
These are some examples of function calls:
Sum( A, 63 )
Maximum( 147, J )
Sin( X+Y )
Eof( F )
Volume( Radius, Height )
RandomNumber
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