- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've got a large program where I'm writing a 2-dimensional array out to a file in a specific format:
do i=1, n
write(fid,*)array(i,0:m)
end do
where array is allocated with size (1:n, 0:m). This do loop compiles and works fine when I create and build the program as a QuickWin application, but when creating a new project as a Console application I getthis compile error on the 'write' statement line:
error #6200: A colon (:) is not valid in this context.
The easiest thing is to just re-write the do loop, but why do I get this error under a Console app but not a QuickWin app?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please provide a complete source that shows the problem. I am 99.999% certain that the issue is unrelated to Console vs. QuickWin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nevermind...found the problem.
![](/skins/images/01F111D2651B8D490886918A505C4147/responsive_peak/images/icon_anonymous_message.png)
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