HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
VIRTUAL (extension)
Chapter 10490
VIRTUAL (extension)
Declares an array.
Syntax
VIRTUAL
array-declarator-list
array-declarator-list
is a comma-separated list of array declarators.
Description
The VIRTUAL statement is an HP extension in HP Fortran for compatibility with earlier
versions of Fortran. It is an alternative to the DIMENSION statement. VIRTUAL cannot be used
as an attribute in type declaration statements.
Examples
VIRTUAL A(10), B(1:5,2:6)
Related statements
DIMENSION
Related concepts
Arrays are discussed in Chapter 3, “Arrays,” on page 55.