12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of the Library Routines 2MBCharLenNLS Function: Returns the length, in bytes, of the first character in a multibyte-character string.This function is only available on Windows* systems.Module: USE IFNLSSyntaxresult = MBCharLen (string)string(Input) Character*(*). String containing the character whose length is to be determined. Cancontain multibyte characters.Results:The result type is INTEGER(4). The result is the number of bytes in the first character containedin string. The function returns 0 if string has no characters (is length 0).MBCharLen does not test for multibyte character validity.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “MBCurMax”, “MBLead”, “MBLen”, “MBLen_Trim”MBConvertMBToUnicodeNLS Function: Converts a multibyte-character string from the current codepage to a Unicodestring. This function is only available on Windows* systems.Module: USE IFNLSSyntaxresult = MBConvertMBToUnicode (mbstr, unicodestr [, flags])mbstr(Input) Character*(*). Multibyte codepage string to be converted.unicodestr(Output) INTEGER(2). Array of integers that is the translation of the input string into Unicode.flags(Optional; input) INTEGER(4). If specified, modifies the string conversion. If flags is omitted, thevalue NLS$Precomposed is used. Available values (defined in IFNLS.F90) are:• NLS$Precomposed: Use precomposed characters always. This is the default.• NLS$Composite: Use composite wide characters always.2-201

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!