Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Fortran 90 Programmer's Reference: HP Series 700/800 Computers

Glossary

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

A

actual argument 

A value, variable, or procedure that is passed by a call to a procedure (function or subroutine). The actual argument appears in the source of the calling procedure.

See also See also dummy argument..


allocatable array 

A named array with the ALLOCATABLE attribute whose rank is specified at compile time, but whose bounds are determined at run time. Storage for the array must be explicitly allocated before the array may be referenced.


argument 

(1) A variable, declared in the argument list of a procedure or ENTRY statement, that receives a value when the procedure is called (a dummy argument).

(2) The variable, expression, or procedure that is passed by a call to a procedure (an actual argument).


argument association 

The correspondence between an actual argument and a dummy argument during execution of a procedure reference.


argument keyword 

A dummy argument name. Argument keywords can be used to pass actual arguments to a procedure in any order if the procedure has an explicit interface.


array 

A rectangular pattern of elements of the same data type. The properties of an array include its rank, shape, extent, and data type.

See also See also bounds and dimension..


array constructor 

A rank-one array represented as a sequence of scalar or array values that may be constant or variable.


array element 

An individual, scalar component of an array that is specified by the array name and, in parenthesis, one or more subscripts that identify the element's position in the array.


array section 

A subset of an array specified by a subscript triplet or vector subscript in one or more dimensions. For an array a(4,4), a(2:4:2,2:4:2) is an array section containing only the evenly indexed elements a(2,2), a(4,2), a(2,4), and a(4,4).


array-valued 

Having the property of being an array.


assumed-shape array 

An array that is a dummy argument to a procedure and whose shape is assumed (taken) from that of the associated actual argument. An assumed-shape array's upper bound in each dimension is represented by a colon (:).

See also See also assumed-size array..


assumed-size array 

An older FORTRAN 77 feature. An array that is a dummy argument to a procedure and whose size (but not necessarily its shape) is assumed (taken) from that of the associated actual argument. The upper bound of an assumed-size array's last dimension is specified by an asterisk (*).

See also See also assumed-shape array..


attribute 

A property of a constant or variable that may be specified in a type declaration statement. Most attributes may alternately be specified in a separate statement. For instance, the ALLOCATABLE statement has the same meaning as the ALLOCATABLE attribute, which appears in a type declaration statement.


automatic array 

An explicit-shape array that is local to a procedure and is not a dummy argument. One or more of an automatic array's bounds is determined upon entry to the procedure, allowing automatic arrays to have a different size and shape each time the procedure is invoked.


automatic data object 

A data object declared in a subprogram whose storage space is dynamically allocated when the subprogram is invoked; its storage is released on return from the subprogram.


B

bit 

A binary digit, either 1 or 0.

See also See also byte..


blank common 

A common block that is not associated with a name.


block 

A series of consecutive statements that are treated as a complete unit and are within a SELECT CASE, DO, IF, or WHERE construct.


block data subprogram 

A procedure that establishes initial values for variables in named common blocks and contains no executable statements. A block data subprogram begins with a BLOCK DATA statement.


bounds 

The minimum and maximum values permitted as a subscript of an array for each dimension.


byte 

A group of contiguous bits starting on an addressable boundary. In HP machines, a byte is 8 bits in length.

See also See also gigabyte, kilobyte, megabyte, and terabyte..


C

character 

A digit, letter, or other symbol in the character set. For information about the HP character set, see Appendix B.


character string 

A sequence of zero or more consecutive characters.


column-major order 

The default storage method for arrays in Fortran 90.

Memory representation of an array is such that the columns are stored contiguously. For example, in the array a(3,4) element a(1,2) follows a(3,1), which follows a(2,1) in memory.

See also See also row-major order..


common block 

A block of memory for storing variables. A common block is a global entity that may be referenced by one or more program units.


compile-line option 

A flag that can be specified with the f90 command line to override the default actions of the HP Fortran 90 compiler.


compiler directive 

A specially-formatted comment within a source program that affects how the program is compiled. Compiler directives are not part of the Fortran 90 Standard. In HP Fortran 90, compiler directives provide control over source listing, optimization, and other features.


complete executable 

An executable program that is created using only archive libraries and thus contains its own copy of the library routines referenced in the program.

See also See also incomplete executable..


component 

A constituent that is part of a derived type. A derived type may consist of one or more components. For example, time%hour refers to the hour component of time (and time is a variable whose data type is a derived type defined in the program).


conformable 

Two arrays are conformable if both arrays have the same rank (number of dimensions) and the same extent (number of elements for each dimension). A scalar is conformable with any array.


connected 

(1) A unit is connected if it refers to an external file.

(2) An external file is connected if a unit refers to it.

In both cases, connection is established either by the OPEN statement or by preconnection. See also preconnected.


constant 

A data object that retains the same value during a program's execution. A constant's value is established when a program is compiled. A constant is either a literal constant or a named constant.


constant expression 

An expression whose value does not vary during the program's execution. A constant expression's operands are all constants.


construct 

A series of statements that begins with a SELECT CASE, DO, IF, or WHERE statement and ends with a corresponding END SELECT, END DO, END IF, or ENDWHERE statement.


D

data type 

A named category of data that has a set of values, a way to denote its values, and a set of operations for interpreting and manipulating the values. Fortran 90 intrinsic data types include character, complex, double precision, integer, logical, and real. HP Fortran 90 also provides the byte and double complex data types as extensions.

See also See also derived type..


deferred-shape array 

An allocatable array or a pointer array (an array with the ALLOCATABLE or POINTER attribute).


definable 

A variable is definable if its value may be changed by its name or designator appearing in an assignment context (for example, in a READ statement or on the left-hand side of an assignment statement).


defined assignment 

A non-intrinsic assignment statement that is defined by an ASSIGNMENT(=) interface block and a subroutine.


defined operator 

An operator that is present in an INTERFACE statement and has its operation implemented by one or more user-defined functions.


demand-loadable 

A process is demand-loadable if its pages are brought into physical memory only when they are accessed.


derived type 

A user-defined (non-intrinsic) data type that consists of one or more components. Each component of a derived type is either an intrinsic data type or another derived type.


designator 

A name that references a part of a data object that can be defined and referenced separately from other parts of the data object. A designator may be a derived type component, array section, array element, substring, or actual argument with INTENT(INOUT) or INTENT(OUT).


dimension 

Each subscript of an array corresponds to a dimension of the array; arrays may have from one to seven dimensions. The number of dimensions is an array's rank. See also extent.


directive 

See See compiler directive..


disassociated 

A pointer that is disassociated points to no target. A pointer becomes disassociated following a DEALLOCATE or NULLIFY statement involving the pointer or by the pointer being associated with (pointing to) a disassociated pointer.


dummy argument 

An entity whose name appears in the argument list of a procedure or ENTRY statement. It is associated with an actual argument when the procedure is called. The dummy argument appears in the source of the called procedure.


dusty deck program 

An older, pre-FORTRAN 77 program. Presumably called a "dusty deck" program because it was stored on punched cards and has not been changed since. Such programs generally rely on nonstructured programming techniques such as the GOTO statement.


E

element 

See See array element..


elemental 

To be elemental, an intrinsic operation, procedure, or assignment must apply independently to every element of an array or apply independently to the corresponding elements of a set of conformable arrays and scalars.


equivalencing 

The process of sharing storage units among two or more data objects by means of the EQUIVALENCE statement.


executable program 

A set of program units, including one main program, that can be run as a self-contained program.


executable statement 

An instruction that causes the program to perform one or more computational or branching actions.


explicit interface 

A procedure interface whose properties (including the name and attributes of the procedure and the order and attributes of its arguments) are known by the calling program unit. A procedure may have an explicit interface in a scoping unit if it:

  • Is described by an interface block, or

  • Is an INTERNAL procedure, or

  • Is a MODULE procedure


explicit-shape array 

An array with explicitly-declared bounds for each dimension.


expression 

A series of operands and (optionally) operators and parentheses that forms either a data reference or a computation.


extended operator 

See See defined operator..


extent 

The number of elements in one dimension of an array.


external file 

A file that is stored on a medium external to the executing program.


external procedure 

A procedure that is not contained in a main program, module, or another subprogram.


F - H

file 

A sequence of records (characters or values processed as a unit).

See also See also external file and internal file..


function 

A procedure that returns a value (the function result) and that can be referenced in an expression.


function result 

The data object returned from a call to a function.


generic procedure 

A procedure in which at least one actual argument may have more than one data type. Generic procedures may be intrinsic or user-defined.


gigabyte 

1073741824 bytes (230 bytes). See also byte.


global entity 

A program unit, common block, or external procedure whose scope is the entire executable program.


High Performance Fortran (HPF) 

An extension to the Fortran 90 Standard that provides user-directed data distribution and alignment. HPF is not a standard, but rather a set of features desirable for parallel programming.


host 

A program unit or subprogram that contains an internal procedure or module.


host association 

The process by which an internal procedure, module procedure, or derived type definition accesses the entities of its host.


I - K

incomplete executable 

An executable program that is created using at least one shared library. Copies of shared library routines are not present in an incomplete executable; instead, the executable has a linkage table that lists the routines' addresses in the shared library.

See also See also complete executable..


inquiry function 

An intrinsic function whose return value provides information based on the principal arguments' properties and not the arguments' values.


intent 

An attribute of a dummy argument that indicates whether the argument is used for transferring data into the procedure, out of the procedure, or both.


internal file 

A variable that is used as a file storage medium for formatted I/O. Internal files are stored in memory and typically are used to convert data from a machine representation to a character representation by use of edit descriptors.


internal procedure 

A procedure contained in a main program or another subprogram.


intrinsic 

Assignment statements, data types, operations, and procedures are intrinsic if they are defined in the Fortran 90 Standard and may be used, without being defined, in any scoping unit.


keyword 

See See argument keyword and statement keyword..


kilobyte 

1024 bytes (210 bytes).

See also See also byte..


kind type parameter 

An integer parameter whose value determines the range for an intrinsic data type; for example INTEGER(KIND=2). The kind type parameter also determines the precision for complex and real data types.


L - M

label 

An integer, one to five digits long, that precedes a statement and identifies it with a unique number. A statement's label provides a way to transfer control to the statement or to reference it as a FORMAT statement.


library 

A file that contains object code for subroutines and data that can be used by programs written in Fortran 90, among other languages.

See also See also linker.


linker 

The ld utility. The linker resolves references in a program's source to routines that are not in the source file being compiled. The linker matches each reference, if possible, to the corresponding library routine.


literal constant 

A constant that does not have a name. A literal constant's value is written directly into a program.

See also See also named constant..


loader 

See See linker..


main program 

The first program unit that starts executing when a program is run. The first statement of a main program usually is the PROGRAM statement.


megabyte 

1048576 bytes (220 bytes).

See also See also byte..


module 

A program unit that contains definitions of derived types, procedures, namelists, and variables that are made accessible to other program units. A module begins with the MODULE statement and its public definitions are made available to other program units by means of the USE statement.


module procedure 

A procedure that is contained in a module and is not an internal procedure.


N - O

name 

A letter followed by up to 254 alphanumeric characters (letters, digits, underscores, and $) that identifies an entity in an HP Fortran 90 program unit, such as a common block, dummy argument, procedure, program unit, or variable.


named constant 

A constant that has a name.

See also See also literal constant.


numeric type 

A complex, double precision, integer, or real data type.


obsolescent feature 

A feature defined in the FORTRAN 77 Standard that still is in common use but is considered to be redundant, such as the arithmetic IF statement.

The use of obsolescent features is discouraged. The Fortran 90 Standard summarizes the obsolescent features.


operand 

An expression that precedes or follows an operator. For example, in a + b, both a and b are operands.


operation 

A computation performed on one or two operands.


operator 

A sequence of one or more characters in an expression that specifies an operation. For example, in a + b, + is an operator.


option 

See See compile-line option..


optional argument 

A dummy argument that does not require a corresponding actual argument to be supplied when its procedure is invoked.


P - R

pointer 

A variable that has the POINTER attribute, which enables it to reference (point to) variables of a specified data type (rather than storing the data itself).


pointer association 

The process by which a pointer becomes associated with the storage space of its target. Pointer association occurs during pointer assignment or a valid ALLOCATE statement.


preconnected 

Three input/output units are preconnected to files by the operating system and need not be connected by the OPEN statement. The preconnected units are:

  • Unit 5 (standard input)

  • Unit 6 (standard output)

  • Unit 7 (standard error)


present 

An optional dummy argument is present in an instance of a procedure if it is associated with an actual argument passed by the invoking procedure.


procedure 

A unit of program code that may be invoked. A procedure can be either a function or a subroutine.


program 

A sequence of instructions for execution by a computer to perform a specific task. See also executable program.


program unit 

A main program, a module, an external procedure, or a block data subprogram.


rank 

The number of dimensions of an array. Scalars have a rank of zero.


record 

A sequence of values treated as a whole within a file.


return value 

See See function result..


row-major order 

The default storage method for arrays in C. Memory representation is such that the rows of an array are stored contiguously. For example, for the array a[3][4], the element a[1][0] immediately follows a[0][3].

See also See also column-major order..


S

scalar 

A data item that has a rank of zero and therefore is not an array.


scope 

The part of an executable program in which a name or declaration has a single interpretation.


scoping unit 

A derived-type definition, an interface body (excluding derived-type definitions or interface bodies it contains), or a program unit or subprogram (excluding any derived-type definitions, interface bodies, or subprograms it contains).


shape 

An array's extent (number of elements) in each dimension and rank (number of dimensions).


size 

The total number of elements in an array; the product of all its extents.


specific procedure 

A procedure for which each actual argument must be of a specific data type.

See also See also generic procedure..


statement 

A sequence of characters that represents an instruction or step in a program. A single statement usually, but not always, occupies one line of a program.

A statement may consist of multiple lines by using the ampersand (&) continuation character. Similarly, multiple statements may appear on a single line separated by semicolons (;).


statement function 

A function that returns a scalar value and is defined by a single scalar expression.


statement keyword 

A word that is part of a statement's syntax, such as CHARACTER, DO, ELSE, or FORMAT.


statement label 

See See label..


stride 

The increment that may optionally be specified in a subscript triplet. If it is not specified, the stride has a value of one.


structure 

A data object that is scalar and is of derived type.


structure component 

See See component..


subprogram 

See See procedure..


subroutine 

A procedure that is referenced by a CALL statement; values returned by a subroutine are usually provided through the subroutine's arguments.


subscript 

A scalar value within the bounds of one dimension of an array. To specify a single array element, a subscript must be specified for each of the array's dimensions.


subscript triplet 

An array section specification that consists of a starting element, an ending element, and (optionally) a stride separated by colons (:).


substring 

A contiguous segment of a scalar character string. Note that a substring is not an array section.


T - Z

target 

A named data object that may be associated with a pointer. A target is specified in a TARGET statement or in a type declaration statement that has the TARGET attribute.


terabyte 

1099511627776 bytes (240 bytes).

See also See also byte..


type 

See See data type..


type declaration statement 

A statement that specifies the data type and, optionally, attributes for one or more constants, functions, or variables.


unit number 

A logical number that can be connected to a file to provide a means for referring to the file in input/output statements.


use association 

The association of names among different scoping units as specified by a USE statement.

See also See also module..


user-defined assignment 

See See defined assignment..


user-defined operator 

See See defined operator..


variable 

A data object whose value may be defined and redefined during a program's execution. For example, array elements or array sections, named data objects, structure components, and substrings all can be variables.


vector subscript 

A method of referencing multiple, possibly discontinuous elements of an array by using a rank-one array of integer values as a subscript.


zero-sized array 

An array with at least one dimension that has at least one extent of zero. A zero-sized array has a size of zero and contains no elements.


Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.