- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have compiled a fortran code using Fortan compiler 9.1 029. Sometime the value that I get is **** instead of digits. If I run the program again I might not get the **** and get the real value.
I am not familiar with fortran at all. I am using a fortran dll to integrate in my program. Can someone help me with a possible explanation for the ***** value.
Thanks,
Debolina
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 write it to a txt file.
Thanks for the suggestion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When the number you want to write is bigger than will fit in the format, then you get ****
For example if you have an integer I=12345 and a format of (I4) the format has room for only 4 digits (printing a value up to 9999) but I is too big to fit.
You will need to increase the format, or if possible use (I0) which will use as many digits as is needed to print the value.
Les

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