Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
PXFSET
POSIX Subroutine: Sets the value of a component (or field) of a structure.
Module
USE IFPOSIX
CALL PXF(type)SET (jhandle,compname,value,ierror)
CALL PXF(type)SET (jhandle,compname,value,ilen,ierror) ! syntax when (type) is STR
(type)  |  
      A placeholder for one of the following values: 
  |  
     ||||||||||||||||||||||||
jhandle  |  
      (Input) INTEGER(4). A handle of a structure.  |  
     ||||||||||||||||||||||||
compname  |  
      (Input) Character. The name of the component (or field) of the structure to write data to.  |  
     ||||||||||||||||||||||||
value  |  
      (Input) A variable, whose data type depends on the value of (type). See the table above for the data types for each value; for example, if the value for (type) is INT, the data type is INTEGER(4). The value for the component (or field).  |  
     ||||||||||||||||||||||||
ilen  |  
      (Input) INTEGER(4). This argument can only be used when (type) is STR (PXFSTRSET). The length of the string in value.  |  
     ||||||||||||||||||||||||
ierror  |  
      (Output) INTEGER(4). The error status.  |  
     
If successful, ierror is set to zero; otherwise, an error code.
Example
See the example in PXFSTRUCTCREATE (which shows PXFSTRSET)