- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is ridiculous. Anew subroutine I'm developing had five dummy arguments during the initial test phase. The final design requiresseven dummy arguments; however whenever I try to add the sixth and/or the seventh the IVF compiler comes up with "Error: The number of actual arguments cannot be greater than the number of dummy arguments".
I totally agree; my problem is that this isn't the case. The error is clearly something else. The first five dummy args are, respectively, character*80, character*80, character*3, character*3 and integer. I've stripped all code other than the declarations out of both the subroutine and the outer sub that calls it (apart from the call to the inner sub )and have also completely retyped both the subdeclaration lineand the call, in case any non-printing characters had crept in. I also tried chaging character*3 to character*4 (desperation change) but that didn't change anything. I've got to be looking at something simple but can't see it. I'd appreciate any suggestions.
TIA John
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2) before compile, try the Build->Clean Solution
3)are you using 'generate Interface' option of Project->(your project) Properties->Fortran->Diagnostics->Generate Interface Blocks?
and which version of the compiler are you using? (since 3) would have generated a different problem with 74 so I'm guessing you are using 72 or earlier?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2) before compile, try the Build->Clean Solution
3)are you using 'generate Interface' option of Project->(your project) Properties->Fortran->Diagnostics->Generate Interface Blocks?
and which version of the compiler are you using? (since 3) would have generated a different problem with 74 so I'm guessing you are using 72 or earlier?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2) That was the problem - a Clean Build fixed it.
3) No problems there
I'm using 10.1
Thanks a heap John

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page