Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferenceCompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBExampleThis program draws the arc shown below.USE IFQWININTEGER(2) status, x1, y1, x2, y2, x3, y3, x4, y4x1 = 80; y1 = 50x2 = 240; y2 = 150x3 = 120; y3 = 75x4 = 90; y4 = 180status = ARC( x1, y1, x2, y2, x3, y3, x4, y4 )END(x1,y1)(x3,y3)Center of arc = centerof bounding rectangle(x4,y4)(x2,y2)AUTOAddArgAUTO Subroutine: Passes an argument name and value and adds the argument to the argumentlist data structure. This subroutine is only available on Windows* systems on IA-32 processors.Modules: USE IFAUTO, USE IFWINTYSyntaxCALL AUTOAddArg (invoke_args, name, value [, intent_arg] [, type])invoke_argsThe argument list data structure. Must be of type INTEGER(4).nameThe argument’s name of type CHARACTER*(*).2-10
Descriptions of the Library Routines 2valueThe argument’s value. Must be of type INTEGER(2), INTEGER(4), REAL(4), REAL(8),LOGICAL(2), LOGICAL(4), CHARACTER*(*), or a single dimension array of one of thesetypes. Can also be of type VARIANT, which is defined in the IFWINTY module.intent_argIndicates the intended use of the argument by the called method. Must be one of the followingconstants defined in the IFAUTO module:• AUTO_ARG_IN: The argument’s value is read by the called method, but not written. This isthe default value if intent_arg is not specified.• AUTO_ARG_OUT: The argument’s value is written by the called method, but not read.• AUTO_ARG_INOUT: The argument’s value is read and written by the called method.When the value of intent_arg is AUTO_ARG_OUT or AUTO_ARG_INOUT, the variable used inthe value parameter should be declared using the VOLATILE attribute. This is because the valueof the variable will be changed by the subsequent call to AUTOInvoke. The compiler’s globaloptimizations need to know that the value can change unexpectedly.typeThe variant type of the argument. Must be one of the following constants defined in theIFWINTY module:VARIANT TypeVT_I2VT_I4VT_R4VT_R8VT_CYVT_DATEVT_BSTRVT_DISPATCHVT_ERRORVT_BOOLVT_VARIANTVT_UNKNOWNValue TypeINTEGER(2)INTEGER(4)REAL(4)REAL(8)REAL(8)REAL(8)CHARACTER*(*)INTEGER(4)INTEGER(4)LOGICAL(2)TYPE(VARIANT)INTEGER(4)See Also: “AUTOInvoke”, the VOLATILE attribute in the Language Reference2-11
- Page 11 and 12: ContentsPXFCFGETISPEED ............
- Page 13 and 14: ContentsPXFPUTC ...................
- Page 15 and 16: ContentsSCROLLTEXTWINDOW ..........
- Page 17 and 18: ContentsSSWRQQ ....................
- Page 19 and 20: About This ManualThis manual descri
- Page 21 and 22: About This ManualAssociated Intel D
- Page 23 and 24: About This ManualCTRL{choice1 | cho
- Page 25 and 26: About This ManualPlatformLanguage O
- Page 27 and 28: Overview of the Libraries 1This cha
- Page 29 and 30: Overview of the Libraries 1Table 1-
- Page 31 and 32: Overview of the Libraries 1Table 1-
- Page 33 and 34: Overview of the Libraries 1Table 1-
- Page 35 and 36: Overview of the Libraries 1Table 1-
- Page 37 and 38: Overview of the Libraries 1TimeThe
- Page 39 and 40: Overview of the Libraries 1Table 1-
- Page 41 and 42: Overview of the Libraries 1Table 1-
- Page 43 and 44: Overview of the Libraries 1Table 1-
- Page 45 and 46: Overview of the Libraries 1Table 1-
- Page 47 and 48: Overview of the Libraries 1Table 1-
- Page 49 and 50: Overview of the Libraries 1Table 1-
- Page 51 and 52: Overview of the Libraries 1Table 1-
- Page 53 and 54: Descriptions of the LibraryRoutines
- Page 55 and 56: Descriptions of the Library Routine
- Page 57 and 58: Descriptions of the Library Routine
- Page 59 and 60: Descriptions of the Library Routine
- Page 61: Descriptions of the Library Routine
- Page 65 and 66: Descriptions of the Library Routine
- Page 67 and 68: Descriptions of the Library Routine
- Page 69 and 70: Descriptions of the Library Routine
- Page 71 and 72: Descriptions of the Library Routine
- Page 73 and 74: Descriptions of the Library Routine
- Page 76 and 77: 2 Intel Fortran Libraries Reference
- Page 79 and 80: Descriptions of the Library Routine
- Page 82 and 83: 2 Intel Fortran Libraries Reference
- Page 84 and 85: 2 Intel Fortran Libraries Reference
- Page 86 and 87: 2 Intel Fortran Libraries Reference
- Page 88 and 89: 2 Intel Fortran Libraries Reference
- Page 90 and 91: 2 Intel Fortran Libraries Reference
- Page 92 and 93: 2 Intel Fortran Libraries Reference
- Page 94 and 95: 2 Intel Fortran Libraries Reference
- Page 96: 2 Intel Fortran Libraries Reference
- Page 100 and 101: 2 Intel Fortran Libraries Reference
- Page 102 and 103: 2 Intel Fortran Libraries Reference
- Page 104 and 105: 2 Intel Fortran Libraries Reference
- Page 106 and 107: 2 Intel Fortran Libraries Reference
- Page 108 and 109: 2 Intel Fortran Libraries Reference
- Page 110 and 111: 2 Intel Fortran Libraries Reference
Descriptions of the Library Routines 2valueThe argument’s value. Must be of type INTEGER(2), INTEGER(4), REAL(4), REAL(8),LOGICAL(2), LOGICAL(4), CHARACTER*(*), or a single dimension array of one of thesetypes. Can also be of type VARIANT, which is defined in the IFWINTY module.intent_argIndicates the intended use of the argument by the called method. Must be one of the followingconstants defined in the IFAUTO module:• AUTO_ARG_IN: The argument’s value is read by the called method, but not written. This isthe default value if intent_arg is not specified.• AUTO_ARG_OUT: The argument’s value is written by the called method, but not read.• AUTO_ARG_INOUT: The argument’s value is read and written by the called method.When the value of intent_arg is AUTO_ARG_OUT or AUTO_ARG_INOUT, the variable used inthe value parameter should be declared using the VOLATILE attribute. This is because the valueof the variable will be changed by the subsequent call to AUTOInvoke. The compiler’s globaloptimizations need to know that the value can change unexpectedly.typeThe variant type of the argument. Must be one of the following constants defined in theIFWINTY module:VARIANT TypeVT_I2VT_I4VT_R4VT_R8VT_CYVT_DATEVT_BSTRVT_DISPATCHVT_ERRORVT_BOOLVT_VARIANTVT_UNKNOWNValue TypeINTEGER(2)INTEGER(4)REAL(4)REAL(8)REAL(8)REAL(8)CHARACTER*(*)INTEGER(4)INTEGER(4)LOGICAL(2)TYPE(VARIANT)INTEGER(4)See Also: “AUTOInvoke”, the VOLATILE attribute in the Language <strong>Reference</strong>2-11