- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a program in which certain combinations of inputoccassionally cause a formattedoutput field (e.g., F8.2) to overflow due to the larger size of the number. Sometimes it prints asterisks across the field (which is what I want to happen whenan overflow occurs). Other times,the overflowhalts the program and gives a run-time error: "error (63): output conversion error". I'm not sure why asterisks are printed sometimes and a run-time error occurs other times. Is there a compiler or linker switch that will prevent this particular run-time error and always allow asterisks to be printed across the field when the overflow occurs?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe that you had to ask for this behavior by specifying /check:output_conversion as a compiler option. The default is to not issue the error.

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