PRB: Does Not Support Logical Operations on FORTRAN Strings

ID: Q22343


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 :
Version : :2.2,3.0,3.11,3.12,3.14,3.5
Platform :
Issue type :


Last Reviewed: November 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.