Re: Allow interspersed named and positional arguments?



Fly Away <victor.prosolin@xxxxxxxxx> wrote:

Making this change would not provide substantial new functionality,
but I think it would be convenient, and it does not seem too difficult
for compiler writers to implement.
Even though I have very little understanding about how all this stuff
works at the low lever I am almost certain that object files do not
contain any info about the original variables' names. With the
exception of procedures like open, close, etc. So at least for
external libraries there is no way to get enough information for your
suggestion to work.

No, that is *NOT* an issue. You have to have an explicit interface for
anything like named arguments to work in the first place. That interface
provides all the necessary information. This is a compile-time thing
having nothing to do with object files. Sounds to me like you aren't
familliar with the existing f90 explicit interfaces and the things they
allow. That part is not new to Beliavsky's proposal.

I had some reservations, mentioned in my separate post, but they aren't
along this line. This part just isn't a problem.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.