PRB: Does Not Support Logical Operations on FORTRAN Strings (22343)



The information in this article applies to:

  • Microsoft CodeView for MS-DOS 2.2
  • Microsoft CodeView for MS-DOS 3.0
  • Microsoft CodeView for MS-DOS 3.11
  • Microsoft CodeView for MS-DOS 3.14
  • Microsoft CodeView for OS/2 2.2
  • Microsoft CodeView for OS/2 3.0
  • Microsoft CodeView for OS/2 3.11
  • Microsoft CodeView for OS/2 3.12
  • Microsoft CodeView for OS/2 3.5

This article was previously published under Q22343

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.

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:KB22343