DOCUMENT:Q22343 26-JUN-2001 [utilities] TITLE :PRB: Does Not Support Logical Operations on FORTRAN Strings PRODUCT :Microsoft Programming Utilities PROD/VER::2.2,3.0,3.11,3.12,3.14,3.5 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft CodeView for MS-DOS, versions 2.2, 3.0, 3.11, 3.14 - Microsoft CodeView for OS/2, versions 2.2, 3.0, 3.11, 3.12, 3.5 ------------------------------------------------------------------------------- SYMPTOMS ======== Set a watchpoint on a string in a FORTRAN program by using the following line: fred.eq.'test' CodeView always returns the message "Operand types invalid for this operation." CAUSE ===== CodeView does not support logical operations on Fortran strings (however, it does with C strings). Therefore, you cannot use the logical operator "eq" on the string for setting up the watchpoint. Additional query words: 2.20 3.00 3.50 ====================================================================== Keywords : Technology : kbAudDeveloper kbCodeView kbZNotKeyword3 kbCodeView220DOS kbCodeView300DOS kbCodeView311DOS kbCodeView314DOS kbCodeView220OS2 kbCodeView300OS2 kbCodeView311OS2 kbCodeView312OS2 kbCodeView350OS2 Version : :2.2,3.0,3.11,3.12,3.14,3.5 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.