Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
85 Views

error #6404: This name does not have a type, and must have an explicit type. [FLOAT]

when i try to coupling two projects,i find it.I use vs2019+ivf .But it's strange that the word can be run in old project,after i coupling,the error come out .

example:

integer Tchfstart

IF(X.GE.FLOAT(Tchfstart)) THEN

 

why?

 

0 Kudos
1 Reply
Highlighted
Valued Contributor II
69 Views

You didn't tell us with what compiler the old project accepted the code, but FLOAT is not a standard function. You are looking for REAL. It may have been some legacy function in the other compiler. Or perhaps the new project includes options for a stricter check on the standard?

0 Kudos