Developer Guide and Reference

ID 767251
Date 10/31/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Program Control Statements

The following table lists statements that affect program control.

Unless identified as an image control statement, the statement affects execution on a single image. With the exception of STOP, ERROR STOP, and END PROGRAM, image control statements are used with coarrays; they involve synchronization of images and they divide the program into segments.

Name

Description

ALLOCATE1

Allocates a coarray.

BLOCK2

Identifies a block of code. It can contain declarations of entities that are local to the block.

CALL

Transfers control to a subroutine.

CALL MOVE_ALLOC1

Relocates a coarray in memory.

CASE

Within a SELECT CASE construct, marks a block of statements that are executed if an associated value matches the SELECT CASE expression.