Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
1 Intel Fortran Libraries ReferenceFor more information, see the section on portability routines in "Using Libraries" in Volume I ofyour user’s guide.National Language Support Routines (W*32, W*64)The National Language Support (NLS) routines provide language localization and a multibytecharacter set (MBCS) to let you write applications in different languages.To use an NLS routine, add the following statement to the program unit containing the routine:USE IFNLSTable 1-2 summarizes the NLS routines. Routine names are shown in mixed case to make thenames easier to understand. When writing your applications, you can use any case.Table 1-2 Summary of NLS Routines (W*32, W*64)NameDescriptionLocale Setting and Inquiry:NLSEnumCodepagesReturns all the supported codepages on the system.NLSEnumLocalesReturns all the languages and country combinations supported by thesystem.NLSGetEnvironmentCodepage Returns the codepage number for the system codepage or the consolecodepage.NLSGetLocaleReturns the current language, country, and codepage.NLSGetLocaleInfoReturns requested information about the current local code set.NLSSetEnvironmentCodepage Changes the codepage for the current console.NLSSetLocaleSets the language, country, and codepage.Formatting:NLSFormatCurrencyFormats a number string and returns the correct currency string for thecurrent locale.NLSFormatDateReturns a correctly formatted string containing the date for the currentlocale.NLSFormatNumberFormats a number string and returns the correct number string for thecurrent locale.NLSFormatTimeReturns a correctly formatted string containing the time for the currentlocale.MBCS Inquiry:MBCharLenReturns the length of the first multibyte character in a string.MBCurMaxReturns the longest possible multibyte character for the current codepage.1-8
Overview of the Libraries 1Table 1-2NameMBLeadMBLenMBLen_TrimMBNextMBPrevMBStrLeadMBCS Conversion:MBConvertMBToUnicodeMBConvertUnicodeToMBMBJISTToJMSMBJMSTToJISMBCS Fortran Equivalent:MBINCHARQQMBINDEXMBLGE, MBLGT, MBLLE, MBLLT,MBLEQ, MBLNEMBSCANMBVERIFYSummary of NLS Routines (W*32, W*64)DescriptionDetermines whether a given character is the first byte of a multibytecharacter.Returns the number of multibyte characters in a string, including trailingspaces.Returns the number of multibyte characters in a string, not includingtrailing spaces.Returns the string position of the first byte of the multibyte characterimmediately after the given string position.Returns the string position of the first byte of the multibyte characterimmediately before the given string position.Performs a context sensitive test to determine whether a given byte in acharacter string is a lead byte.Converts a character string from a multibyte codepage to a Unicode string.Converts a Unicode string to a multibyte character string of the currentcodepage.Converts a Japan Industry Standard (JIS) character to a Microsoft* Kanji(Shift JIS or JMS) character.Converts a Microsoft Kanji (Shift JIS or JMS) character to a Japan IndustryStandard (JIS) character.Same as INCHARQQ except that it can read a single multibyte characterat once and returns the number of bytes read.Same as INDEX except that multibyte characters can be included in itsarguments.Same as LGE, LGT, LLE, LLT, and the operators .EQ. and .NE. except thatmultibyte characters can be included in their arguments.Same as SCAN except that multibyte characters can be included in itsarguments.Same as VERIFY except that multibyte characters can be included in itsarguments.For more information, see the section on National Language Support routines in "Using Libraries"in Volume I of your user’s guide.1-9
- Page 1 and 2: Intel ® FortranLibraries Reference
- Page 3 and 4: ContentsAbout This ManualProduct We
- Page 5 and 6: ContentsCOMMITQQ...................
- Page 7 and 8: ContentsGETDRIVESIZEQQ.............
- Page 9 and 10: ContentsISATTY.....................
- 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: 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 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
1 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>For more information, see the section on portability routines in "Using <strong>Libraries</strong>" in Volume I ofyour user’s guide.National Language Support Routines (W*32, W*64)The National Language Support (NLS) routines provide language localization and a multibytecharacter set (MBCS) to let you write applications in different languages.To use an NLS routine, add the following statement to the program unit containing the routine:USE IFNLSTable 1-2 summarizes the NLS routines. Routine names are shown in mixed case to make thenames easier to understand. When writing your applications, you can use any case.Table 1-2 Summary of NLS Routines (W*32, W*64)NameDescriptionLocale Setting and Inquiry:NLSEnumCodepagesReturns all the supported codepages on the system.NLSEnumLocalesReturns all the languages and country combinations supported by thesystem.NLSGetEnvironmentCodepage Returns the codepage number for the system codepage or the consolecodepage.NLSGetLocaleReturns the current language, country, and codepage.NLSGetLocaleInfoReturns requested information about the current local code set.NLSSetEnvironmentCodepage Changes the codepage for the current console.NLSSetLocaleSets the language, country, and codepage.Formatting:NLSFormatCurrencyFormats a number string and returns the correct currency string for thecurrent locale.NLSFormatDateReturns a correctly formatted string containing the date for the currentlocale.NLSFormatNumberFormats a number string and returns the correct number string for thecurrent locale.NLSFormatTimeReturns a correctly formatted string containing the time for the currentlocale.MBCS Inquiry:MBCharLenReturns the length of the first multibyte character in a string.MBCurMaxReturns the longest possible multibyte character for the current codepage.1-8