XL Fortran for AIX 8.1

Language Reference

+-------------------------------IBM Extension--------------------------------+

VIRTUAL

Purpose

The VIRTUAL statement specifies the name and dimensions of an array. It is an alternative form of the DIMENSION statement, although there is no VIRTUAL attribute.

Format



>>-VIRTUAL--array_declarator_list------------------------------><
 
 

Rules

You can specify arrays with a maximum of 20 dimensions.

Only one array specification for an array name can appear in a scoping unit.

Examples

VIRTUAL A(10), ARRAY(5,5,5), LIST(10,100)
VIRTUAL ARRAY2(1:5,1:5,1:5), LIST2(I,M)       ! adjustable array
VIRTUAL B(0:24), C(-4:2), DATA(0:9,-5:4,10)
VIRTUAL ARRAY (M*N*J,*)                       ! assumed-size array

Related Information

+----------------------------End of IBM Extension----------------------------+


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