- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to take my first object oriented program on a trial run. However, I keep getting the following compiler error. I have written my program in the following form: a module, main program and an external subroutine (attached at the end). When I try to compile the program which has an interface block included, I get the error cited below. Incidentally, if I don't use the block the program runs fine.
I have attached the program below. I am running this program on Digital Visual Fortran.
Any comments would be appreciated.
Thank you!
John
(1) Error: The type of the actual argument differs from the type of the dummy argument. [CITIZEN]
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to edit my message and somehow deleted It !
look in the CVF on-line help index for 'Defining Generic Assignment' for an example.
use a use statement in the interface not a redefinition of the derived type.
Tony
Message Edited by tonyjay68 on 02-24-2004 04:17 AM
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page