- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried doing this to open a program -:
type
(windowconfig)wcstatus=getwindowconfig(wc)
print *,"window size=",wc.numxpixels,wc.numypixels print *,wc.title OPEN(UNIT = 10, FILE = 'USER', TITLE = 'Child Window 1') OPEN(UNIT = 11, FILE = 'USER', TITLE = 'Child Window 2')!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
and I get a fatal run-time error when it tries to open Unit 10 or Unit 11.
Is there something else I have to do first? The documentation doesn't give me a clue.
How does it know if the UNIT number is pointing to a file on disk or to a window?
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In fact, it mentions "Fatal error when opening FILE." So obviously it's confused about the difference between a graphics window and a disk file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure you have created a QuickWin project, and USE all the correct modules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It definitely is a Quickwin Project, and I put USE IFQWIN in the header of the program.
The error message says "fatal error accessing file, unit 10."
Unfortunatety, I could NOT copy and paste the actual error message verbatim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you come up with a small but complete example that demonstrates the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, will do. Separate thread.
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