MAXIMUM

Short Reference

Syntax

MAXIMUM dobj.

Effect

For every WRITE statement which after execution of the statement MAXIMUM (not allowed in classes) writes the content of data object dobj to a list on any list level, implicitly the maximum value of all output values of obj since the execution of MAXIMUM with WRITE is determined and assigned to a data object MAX_dobj.

The statement MAXIMUM declares the global data object MAX_dobj with the same type as dobj. For dobj you can specify all data objects that can be written to a list using WRITE. The statement MAXIMUM must not be positioned within a procedure and may occur only once in every program.

Example

siehe SUMMING