Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29238 Discussions

Is there a WITH equivalent in FORTRAN?

OP1
New Contributor III
375 Views

Hi,

In other languages, when dealing with complicated types, (which usually entails dealing with longwinded names) the use of a WITH (or equivalent) statement provides a convenientlocal scope to access components/procedures of the derived type/object.

It seems to me that there is no such facility in FORTRAN - but I may have missed it of course. If this is the case, what would be the best strategy to deal with these complicated names?

Thanks,

Olivier

0 Kudos
1 Reply
Steven_L_Intel1
Employee
375 Views
ASSOCIATE in Fortran 2003.
0 Kudos
Reply