- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have inherited some code from 2 years ago that does not work with 6.6 (What was the version then? 6.5?). I don?t know if the author was experimenting with EQUIVALENCE and if the code did work with the previous version or not. Consider a file containing a variable named alfa. The following code does not work with 6.6, I have to use alfa (instead of beta) at NAMELIST and then EQUIVALENCE is not needed. Did this work with some of the previous versions? Is there any way to have alfa in the file and beta in the NAMELIST?
Regards,
Sabalan.
REAL(8) alfa, beta
EQUIVALENCE(alfa, beta)
NAMELIST/varname/ beta
COMMON/comname/ alfa
Open the file
READ(?., NML=varname)
Regards,
Sabalan.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't reproduce the behavior you describe. Please construct a small but complete example that demonstrates the problem and send it to us at vf-support@compaq.com My guess is that the problem is not what you think it is, and that CVF is doing the right thing.
An easy test to make is to do the NAMELIST READ from the console (unit *) and type in:
This will display the name of the NAMELIST it is looking for and all of the variables in that NAMELIST.
Steve
An easy test to make is to do the NAMELIST READ from the console (unit *) and type in:
=?
This will display the name of the NAMELIST it is looking for and all of the variables in that NAMELIST.
Steve
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