Difference between revisions of "IXTpath"
Jump to navigation
Jump to search
m |
m |
||
Line 17: | Line 17: | ||
|- | |- | ||
|directory(:) || char(allocatable) || list of directories to search through | |directory(:) || char(allocatable) || list of directories to search through | ||
− | |- '''counter''' | + | |- |
+ | |'''counter''' | ||
| int | | int | ||
| number of items stored in object. | | number of items stored in object. |
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