On 4/13/07, Henry Rich <[EMAIL PROTECTED]> wrote:
I sure felt uncomfortable writing them. If anybody has
better ideas I'd like to hear them.
One change I would recommend -- follow the same rules
for indentation from line to line.
In other words, the loops in your c version of emphours
should be either all on one line (mail will probably wrap
this -- but it should all be one line):
for(i= 0; i<nemp; ++i) for(j= hrs[i]= 0; j<31; ++j) hrs[i]+=
hoursworked[i][j];
or each subsequent loop body should be indented separately
for(i= 0; i<nemp; ++i)
for(j= hrs[i]= 0; j<31; ++j)
hrs[i]+= hoursworked[i][j];
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm