- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am porting legacy code that is mixed Fortran and C. I have set up a scrollable Quickwin window in Fortran and opened it as Unit 6 (file="USER") for use as a console for prompts, text display and accepting user instructions.. On the C side I have hundreds of statements that write output to either stdout or stderr, using fprint, that I need to redirect to unit 6. Is there any relatively simple way to do this? I have read previous discussions regarding pipes and USEROPEN and am more confused than before.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No simple way. The only thing I can think of is to use pipes, but that requires some additional programming. USEROPEN isn't helpful to you here. The ONLY way that data gets into a QuickWin window is through Fortran I/O.
Steve
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