[J3] C_PTR not allowed in SEQUENCE types?
Malcolm Cohen
malcolm at nag-j.co.jp
Fri Mar 12 01:15:14 UTC 2021
Hi Tom,
If you’re happy or at least willing to do terrible kludges, INTEGER(c_intrptr_t) and the TRANSFER intrinsic are your friends.
Frankly, I think we’ve lost enough toes to SEQUENCE types. They were obsolete when introduced in 1991, and obsolete now. I don’t want to extend them.
Cheers,
--
..............Malcolm Cohen, NAG Oxford/Tokyo.
From: J3 <j3-bounces at mailman.j3-fortran.org> On Behalf Of Clune, Thomas L. (GSFC-6101) via J3
Sent: Thursday, March 11, 2021 11:10 PM
To: Van Snyder via J3 <j3 at mailman.j3-fortran.org>
Cc: Clune, Thomas L. (GSFC-6101) <thomas.l.clune at nasa.gov>
Subject: [J3] C_PTR not allowed in SEQUENCE types?
Is there a fundamental reason that C_PTR cannot be a SEQUENCE type?
I won’t admit to the terrible kludge that I’m attempting that led me to face this issue. But he kludge aside, this seems to me at first glance to be a very reasonable and minor extension.
Disclaimer
The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. Please see our <https://www.nag.co.uk/content/privacy-notice> Privacy Notice for information on how we process personal data and for details of how to stop or limit communications from us.
This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20210312/555cff8b/attachment.htm>
More information about the J3
mailing list