Swietanowski Artur <[log in to unmask]> wrote:
><snip>
>
>And assuming a CONSTANT attribute were available I could do much
>more with my initializations, just as mr. Clodius suggests. It would
>be now possible to allow CONSTANT initialization by nearly any user
>specified means:
>1) all the means available in F90/95,
>2) user functions,
>3) user sunbroutines defined for module-wide data initialization
> (something like an object constructor, but called once for a whole
> module).
><snip>
Not quite true. User functions and user subroutines could only be used for
initialization (without a large potential for error) under restricted
conditions. It is possible that user defined PURE procedures could be used
for this, but I suspect that something closer to mathematical pureness
(IDEAL?) would really be needed.
William B. Clodius Phone: (505) 665-9370
Los Alamos Natl. Lab., NIS-2 FAX: (505) 667-3815
PO Box 1663, MS-C323 Group Off.: 505/667-3422 or 667-5127
Los Alamos, NM 87545 email: [log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|