Please Help : Interprete these lines.
Hello,
it's the same as:
if ((iTmp > 0) && (iTmp < 20 * iTmpO[iIdx,i]))
k = iTmp * 6
else
k = 0
iSum[iIdx,i] = iSum[iIdx,i] + k
Does this help?
As you might know, $1 means the first field of the current record,
$5 is the fifth one, $k is the k-th one and $(k+1) is the (k+1)-th one.
You may print the sixth field this way:
k = 3; print $(2 * k)
Back to that line, it's equvalent to:
j = arrPos[i]
iTmp = $j - iOld[iIdx,i]
HTH,
Stepan Kasal
|