Difference between revisions of "IXTpath"

From LIBISIS
Jump to navigation Jump to search
m
 
Line 14: Line 14:
 
! {{Headcellstyle}} | Description
 
! {{Headcellstyle}} | Description
 
|-
 
|-
| name || char || name of searchpath  
+
| '''name''' || char || name of searchpath  
 
|-
 
|-
|directory(:) || char(allocatable) || list of directories to search through
+
|'''directory(:)''' || char(allocatable) || list of directories to search through
 
|-  
 
|-  
 
|'''counter'''  
 
|'''counter'''  
Line 22: Line 22:
 
| number of items stored in object.
 
| number of items stored in object.
 
|}
 
|}
 
  
 
==F90 syntax==
 
==F90 syntax==

Latest revision as of 13:55, 4 August 2008

This is an object which can be used to store directories which can be searched through in the same way as a VMS logical. It is defined in the IXMpath module which itself contains a private module variable g_paths, which is an allocatable array of IXTpath objects. There are some subroutines/functions which are specific to the g_paths object, and these in turn call IXTpath object functions and subroutines.


Structure

The elements of the object are as follows:


Field Type Description
name char name of searchpath
directory(:) char(allocatable) list of directories to search through
counter int number of items stored in object.

F90 syntax

use IXMpath

type(IXTpath):: path
type(IXTstatus):: status