Hello,
A question. If you have an array of size 3 in a namelist, in the
namelist you can do:
array(1)=5
to set just the first value. But if I do
array=5
it seems the compilers I use accept this but also only change the first
value of array. Is this a bug or feature? If the above syntax is at all
allowed (missing values for the array elements), then I would have
thought it should either be read as "array syntax" and assign all 3
elements the value of 5, or give some I/O error about incomplete field.
I cannot figure out where these rules are in the standard however.
Thanks,
Aleks
--
Aleksandar Donev, Assistant Professor of Mathematics
Courant Institute of Mathematical Sciences
Office: 1016 Warren Weaver Hall, New York University
E-mail: [log in to unmask]
Phone: (212) 992-7315; Fax: (212) 995-4121
Mailing address: 251 Mercer St, New York, NY 10012
Web: http://cims.nyu.edu/~donev
|