Group: comp.lang.fortran · Group Profile · Search for Starting to doubt fortran in comp.lang.fortran
Author: James Giles
Date: Apr 9, 2007 09:27
... (i, j, k) = 0 The left is a list constuctor, the right a scalar zero. Like Fortran arrays, scalars are assignment conformable to lists by being broadcast to the whole list. I like this better, especially...The following is a swap: (a, b) = (b, a) It's merely syntactic sugar. I doubt it's worth the effort it takes to get the implementation right. But, having done it, I like ...
|