- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Noramlly you do this using the elements of ObjectData, but as I;ve found out it does not allow allocatable arrays.
I tried to use a common block to share data between different COM methods but the compiler says that there are conflicting attribs... Perhaps it is the fact that the shared data is an assumed size array like:
method1(Objdata,x)
real(4),intent(inout):: x(1:)
common /dataarray/ x
end method1
...
method2
(what if any declaration goes here for x?)
common /dataarray/ x
...
Any way to do this?
Thanks, TSH
I tried to use a common block to share data between different COM methods but the compiler says that there are conflicting attribs... Perhaps it is the fact that the shared data is an assumed size array like:
method1(Objdata,x)
real(4),intent(inout):: x(1:)
common /dataarray/ x
end method1
...
method2
(what if any declaration goes here for x?)
common /dataarray/ x
...
Any way to do this?
Thanks, TSH
Link Copied
0 Replies

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