- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I am getting the following error - error #7938: Character length argument mismatch. [' ']
The subroutine interface is:
subroutine Info (row,col,Mess,len)
integer*4 row,col,len
character*(*) Mess
end subroutine
The call to the routine is:
call Info (0,1,' ',1)
if I change it to :
character c80*80
c80=' '
call Info (0,1,c80,1)
It works, but is there a better way?
Thanks,
David
The subroutine interface is:
subroutine Info (row,col,Mess,len)
integer*4 row,col,len
character*(*) Mess
end subroutine
The call to the routine is:
call Info (0,1,' ',1)
if I change it to :
character c80*80
c80=' '
call Info (0,1,c80,1)
It works, but is there a better way?
Thanks,
David
Link kopiert
3 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Does the error go away if you do a Build > Rebuild? I suspect you have a leftover generated interface module that doesn't reflect the change you made to Info. Or compile Info's source first, manually, then do a Build.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Steve,
The errors went away when I deleted all the files in the debug directory and then did a build.
But I find every time I do a build I get one or two of these types of errors - it says Build Successful but then I get some more, it's not a major problem but I would like to get rid of all the errors.
David
The errors went away when I deleted all the files in the debug directory and then did a build.
But I find every time I do a build I get one or two of these types of errors - it says Build Successful but then I get some more, it's not a major problem but I would like to get rid of all the errors.
David
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Depending on the build order,some of these errors won't be revealed until a subsequent build. I suggest doing a rebuild when you change the declarations of routine arguments.

Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite