For Programmers: Free Programming Magazines  


Home > Archive > Fortran > December 2005 > Re: Namespace suggestion









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Namespace suggestion
Pierre Asselin

2005-12-05, 7:04 pm

Colin Watters <qolin.see_signature@nowhere.co.uk> wrote:

> There's little to stop you (if you really want to) from defining module
> variables as members of an overall structure. EG.


> [ snip ]


> This would require use of mmm%aa instead of just aa.


Okay for variables, but no good for mmm%subroutine(...).


--
pa at panix dot com
Richard Maine

2005-12-05, 7:04 pm

Pierre Asselin <pa@see.signature.invalid> wrote:

> Colin Watters <qolin.see_signature@nowhere.co.uk> wrote:
>
>
>
> Okay for variables, but no good for mmm%subroutine(...).


until f2003, which has procedure pointers with that syntax. One would
have to set up the pointer in executable code, but that's doable. I'm
not particularly advocating for this approach - just noting it.

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







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com