- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, in my development work I often have the need to view a particular element of a data structure across an array of such structures. For example, if I define an array of example structures as below:
type(example)
logical::test
integer::i,j,k
real(8)::x,y,z
end type (example)
type(example)::examples(10)
Then I might want to view examples(1:10)%test. This does not seem to be possible in debug mode since if I type examples(1:10)%test into the watch window I get the error 'examples(1:10)' is not a structure. This is possibly illogical since one can assign examples(1:10)%test=.false. for example.
Question: Is there a quick way round this or, if not, is this a feature that might be included in future versions?
Thanks, ACAR.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is an existing feature request, ID DPD200045287. I will add your request to it. I don't know of a way around this at present.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is an existing feature request, ID DPD200045287. I will add your request to it. I don't know of a way around this at present.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve. I can cope at present but I would certainly use such a feature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Me too please!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As of Parallel Studio XE 2017, you can now watch an array element or section of a component. You can't assign to an array slice this way, but can assign to individual elements.
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