- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
and [url] tags. The way it is now, old posted codes withtags are unusable.
While I'm here, let me perform a quick test on early Forum bugs:
program BOZ
integer:: a(3,3) = (/1,0,0, 0,1,0, 0,0,1/)
integer:: b(3,3) = (/2,0,0, 0,2,0, 0,0,2/)
integer:: i(2) = (/1,3/)
a(i,:) = a(i,:)+b(i,:)
end program BOZ
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sigh - I was told that a preformatted button would be available.
This board does not use the square-bracket tags. Rather, you select Edit as HTML and use
. We'll add some sort of "code" format soon.
Steve
- 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
Steve -
Thanks for the tip. I'll give it a try.
This is "legacy code" that has been updated with a few more modern enhancements (like an INTERFACE). It uses many bad programming tricks of the past (equivalencing an array of characters with an array of reals, setting up a base array name in a common block and then referencing other variables in the common block by indexing beyond the base array declared bounds, etc.). The compiler, being too literal at times, is causing many headaches and forcing us to insert even more convoluted programming tricks to fool it into accepting the code rather than having to rewrite the application in a better way.
Converting legacy code like this has always been a looming nightmare. We may be going out to slay this dragon sooner than we think. This may be a boon for Fortran programmers much like Y2K was for COBOL coders.
-- clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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