Terug naar de homepage van Forcheck
Forcheck detects inconsistent usage of data types



 FORCHECK PC V11.10  MS5 compiler emulation  20-Jan-94  11:23:02  page: 1 
 DATATYPE.FOR  


      1 c
      2 c                       FORCHECK
      3 c               Data Type Verification
      4 c
      5         READ *, i
      6 
      7         iflag = 0
      8         IF (i .EQ. 10) iflag = 1
      9 
     10         IF (iflag) print *, i
     11 
   iflag
 **[104 E] logical or relational expression expected
     12         END



 FORCHECK PC V11.10          .MAIN.          20-Jan-94  11:23:02  page: 2 
 DATATYPE.FOR  


 ENTRY          TYPE NARG  LINE

    .MAIN.         P


 VARIABLE  TYPE     RANK  OPERATIONS  LINES

    I       I*4                 I  RO  5#  8  10
    IFLAG   I*4                A   R   7#  8# 10



 FORCHECK PC V11.10  MS5 compiler emulation  20-Jan-94  11:23:02  page: 3 


 *END OF ANALYSIS*

 messages presented:
    1x[104 E] logical or relational expression expected

 number of error messages:                1

                                      total  not-included
 number of noncomment source lines:       5             5
 number of nonempty comment lines:        2             2
 number of statements:                    5             5
 number of subprograms:                   1
 number of source files:                  1

previous page top page
Forcheck
Contact