Re: Associative arrays in Fortran



glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
max <none@xxxxxxxx> wrote:
I'm implementing a routine where the user can add new and retrieve
parameters by name. My code currently looks like [ snip ]

Have you looked at NAMELIST? That is what it is for.

You mean namelist read from an internal file (string) ? Is that
allowed ? How would you write back ? Namelist doesn't seem "dynamic"
enough to do this.

--
pa at panix dot com
.



Relevant Pages

  • Re: The Philosophy of Programming?
    ... less trivial to ensure that the string length has not been altered. ... > lowers psychological complexity for most intelligent readers. ... For most intelligent programmers, the laziness principal applies. ...
    (comp.programming)
  • Re: A C++ Whishlist
    ... > people from inclusion in a standard. ... > creating their own string class. ... >>don't want an ever increasing size of exception specification on each ...
    (comp.lang.cpp)
  • Re: Hash functions (was: Maximum String size in Java?)
    ... snip ... ... Inserted with sx31hsh and ssfh_ph in 0.385 secs ... your string library has problems with them speaks for itself. ... published your SFH code with the shifted and undersized ints. ...
    (comp.programming)
  • Re: Zero terminated strings
    ... including when you do things like string concatenation etc ... Simple "tricks" are all you need to implement a decent link level ... <snip basic link layer protocol> ...
    (comp.lang.c)
  • Performance with reading large numbers of files...
    ... I have a small test application that recurses a directory and adds all the file names to a string collection. ... RecurseDirs, sDiskFiles); ... private static void RecurseDirs ...
    (microsoft.public.dotnet.framework.performance)