EGL Reference Guide for iSeries

Function invocations

A function invocation runs an EGL-generated function or a system function, with these effects:



Syntax diagram for function invocation

qualifier
One of the following symbols:

For details on the circumstances in which the qualifier is unnecessary, see References to parts.

function name
Name of the invoked function.
argument
Either a literal or the name of one of these data areas:

If the invoked function returns a value, the function invocation can be used only as the source value in an assignment statement. Regardless of whether the function returns a value, the invocation is followed by a semicolon, as in these examples:

   biggestNumber = maxOf(firstNumber,secondNumber);
   readNumbers();

The following rules apply:

The following rules apply to literals and constants:


Related concepts
Function part
References to parts
Syntax diagram


Related tasks
Assignments


Related reference
EGL statements
Function part in EGL source format
Primitive types
System words
System words in alphabetical order


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]