CV Does Not Support Logical Operations on FORTRAN Strings

ID Number: Q22343

1.x 2.x 3.00 3.10 3.11 3.14 | 2.x 3.00 3.10 3.12 3.50

MS-DOS | OS/2

Question:

I am trying to use CodeView to 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." What am I doing wrong?

Response:

Under FORTRAN, CodeView does not support logical operations on strings

(however, it does with C). Therefore, you cannot use the logical

operator "eq" on the string for setting up the watchpoint.

Additional reference words: 1.1 1.10 2.0 2.00 2.1 2.10 2.2 2.20 2.3

2.30 2.35 3.0 3.1 3.5