- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error: the storage extent of the dummy argument exceeds that of the actual argument
Hi everybody, could someone help me,
I'm designing a spring, but I don't know where the error ocurred.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Look for CALL statements in your program, and select those that contain G in the argument list.
2. Now compare the declared sizes of G in the calling and called routines. The latter should not be greater than the former.
3. Locate all references to G in the subroutine(s) of which it is a dummy argument. None of those references should have a subscript value larger than the declared dimension of G in the caller.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your comments,
I modificated the call statements, So No more errors are generated
Hoever, the Result is strange like 0.0000E+00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All that you needed to do was to modify the declaration of G in CONSTR to match the declaration in the main program. I do not know why and how you changed the calls, and it is possible that doing so introduced new errors.
As to the result being "strange", I note that the program contains many READ statements; you have not shown the input data file and we do not know what the expected results should look like.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page