Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28463 Discussions

Random console error in graphics programs

WSinc
New Contributor I
286 Views

I have a graphics program that also generatesPRINT statements, and accepts input via READ statements.

I sometimes get this "severe error" in Unit 4. It doesn't like the input from the READ * statement. This is entirely RANDOM. Sometimes it accepts it, sometimes it doesn't. Even with the exact same input characters the error occurs randomly. I am not putting in any unusual characters, just numerical digits, periods, plus and minus signs.

READ and PRINT statements don't belong in the same window as graphics output anyway. Isn't there a way to ISOLATE those from the graphics? None of these problems occur in a console application.

An intelligent system programmer should provide for that.

Don't they TEST this stuff ????

0 Kudos
3 Replies
Steven_L_Intel1
Employee
286 Views
What exactly is the error message? I assume this is a QuickWin application - if so, you can open a new window for just the text input and output (or just the graphics if you desire.)
0 Kudos
WSinc
New Contributor I
286 Views

That's exactly what I need - a way to open a window so that CONIN$ comes from just that, and CONOUT$ goes to just that, so that READ and PRINT statements are isolated from the graphics I/O.

Is there an article I can read where this is discussed in more detail? I don't find that just the listings of the subroutine usages are that useful, it's so fragmented.

Thanks; Bill S.

0 Kudos
Steven_L_Intel1
Employee
286 Views
See my reply to your other thread. There's a large section of the installed on-disk documentation dealing with QuickWin usage.
0 Kudos
Reply