- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Im trying to read some data from a file using a namelist block that looks like this:
Namelist /TEST/ A, B, DataPath
real*4 A
logical*4 B
character*200 DataPath
The data in the file is organized as follows:
$TEST
A = 0.0
B = .TRUE.
DataPath = C:RootUsers................................................ ! This line contains 190 characters
$END
I have notice that the read(TestRead, nml = TEST) statement in my code fails every time the DataPath line in the file contains more than about 100 characters.
Is there a way of reading more than 100 characters from the same line in the file with the namelist block shown above? I'm using IVF 9.0 on Windows 2000.
Thanks for your help.
Manny
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
I saw that you submitted an issue but you did not include a test case. Please update your issue and attach a short program and a data file that shows the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Thanks for your reply. I'll do just that as soon as I get a code sample. The problem I describe in my previous post appears to be caused by a piece of code that is part of a larger application.I need to isolate that code and verify that the problem still exists.
Manny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I took another look at our legacy code and I have concluded that the problem is being caused by the source code itself and not the compiler.
Thanks for your help.
Manny
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page