- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Code:
Type CZtype !(C)ommercial (Z)one Sequence Integer :: EL, GL !(E)mpty or (G)ap (L)imit End Type CZtype Type(CZtype), Allocatable :: cz(:) !Lookup by Commercial Zone Read(6,*) czUB allocate(CZ(czUB)) Do i = 1,czUB !cz(i) = czType(0,0) cz(i)%EL = 0 Print *, cz(i)%EL cz(i)%GL = 2 Print *, cz(i)%GL End Do
Hi, I'm running Version 8.1.2279.2003 for Windows.
I just finished switching all of my arrays to be allocatable in a fairly large program. When I try to watch even the simplest array, the watch window displays garbage (even after initialization), butthe programoutputs thecorrect result.
I could work around this with a lot of tedious print statements, but I really like the watches! Any advice would be appreciated. Thanks.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like you need to update your version of the compiler.
Works fine (most of the time) on V9.0.24
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does this work for you in 9.028? I'm having the same problem (see recent thread).
Adrian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see the problem in 9.0.028. Thanks for submitting a report.

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