Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

sharing data between COM methods

rahzan
New Contributor I
392 Views
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
0 Kudos
0 Replies
Reply