Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries Referencesize(Input) INTEGER(4). Positive constant less than 32,767 that specifies the kind of array to besorted. The following constants, defined in IFPORT.F90, specify type and kind for numericarrays:ConstantSRT$INTEGER1SRT$INTEGER2SRT$INTEGER4SRT$INTEGER8SRT$REAL4SRT$REAL8SRT$REAL16Type of arrayINTEGER(1)INTEGER(2) or equivalentINTEGER(4) or equivalentINTEGER(8) or equivalentREAL(4) or equivalentREAL(8) or equivalentREAL(16) or equivalentIf the value provided in size is not a symbolic constant and is less than 32,767, the array isassumed to be a character array with size characters per element.Results:The result type is INTEGER(4). It is an array index of the matched entry, or 0 if the entry is notfound.The array must be sorted in ascending order before being searched.CAUTION. The location of the array and the element to be found must both bepassed by address using the LOC function. This defeats Fortran type checking,so you must make certain that the length and size arguments are correct, andthat size is the same for the element to be found and the array searched.If you pass invalid arguments, BSEARCHQQ attempts to search random partsof memory. If the memory it attempts to search is not allocated to the currentprocess, the program is halted, and you receive a General Protection Violationmessage.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “SORTQQ”, the LOC intrinsic function in the Language Reference2-22
- 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 and 62: Descriptions of the Library Routine
- Page 63 and 64: 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: Descriptions of the Library Routine
- Page 77: Descriptions of the Library Routine
- Page 80: 2 Intel Fortran Libraries Reference
- Page 83 and 84: Descriptions of the Library Routine
- Page 85 and 86: COMCLSIDFromStringDescriptions of t
- Page 87 and 88: Descriptions of the Library Routine
- Page 89 and 90: Descriptions of the Library Routine
- Page 91 and 92: Descriptions of the Library Routine
- Page 93 and 94: Descriptions of the Library Routine
- Page 95 and 96: Descriptions of the Library Routine
- Page 99 and 100: Descriptions of the Library Routine
- Page 101 and 102: Descriptions of the Library Routine
- Page 103 and 104: Descriptions of the Library Routine
- Page 105 and 106: Descriptions of the Library Routine
- Page 107 and 108: Descriptions of the Library Routine
- Page 109 and 110: Descriptions of the Library Routine
- Page 111 and 112: Descriptions of the Library Routine
- Page 113 and 114: Descriptions of the Library Routine
- Page 115 and 116: Descriptions of the Library Routine
- Page 117 and 118: Descriptions of the Library Routine
- Page 119 and 120: Descriptions of the Library Routine
- Page 121 and 122: Descriptions of the Library Routine
- Page 123 and 124: Descriptions of the Library Routine
2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>size(Input) INTEGER(4). Positive constant less than 32,767 that specifies the kind of array to besorted. The following constants, defined in IFPORT.F90, specify type and kind for numericarrays:ConstantSRT$INTEGER1SRT$INTEGER2SRT$INTEGER4SRT$INTEGER8SRT$REAL4SRT$REAL8SRT$REAL16Type of arrayINTEGER(1)INTEGER(2) or equivalentINTEGER(4) or equivalentINTEGER(8) or equivalentREAL(4) or equivalentREAL(8) or equivalentREAL(16) or equivalentIf the value provided in size is not a symbolic constant and is less than 32,767, the array isassumed to be a character array with size characters per element.Results:The result type is INTEGER(4). It is an array index of the matched entry, or 0 if the entry is notfound.The array must be sorted in ascending order before being searched.CAUTION. The location of the array and the element to be found must both bepassed by address using the LOC function. This defeats <strong>Fortran</strong> type checking,so you must make certain that the length and size arguments are correct, andthat size is the same for the element to be found and the array searched.If you pass invalid arguments, BSEARCHQQ attempts to search random partsof memory. If the memory it attempts to search is not allocated to the currentprocess, the program is halted, and you receive a General Protection Violationmessage.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “SORTQQ”, the LOC intrinsic function in the Language <strong>Reference</strong>2-22