|
Mike Buess
USA
3037 Posts |
Posted - 04/22/2004 : 5:21:19 PM
|
Nested loops work fine in LabTalk. (Just make sure they don't loop over the same variables.) You could write the second loop like this...
for(ii=i; ii<=wks.ncols; ii++) { - do something to each column in the active worksheet - };
Note: 'loop' loops are better than 'for' loops for simple iterations like this because they are more efficient. With 300 columns the following might be noticeably faster than the 'for' loop above.
loop (ii,1,wks.ncols) { - do something etc. - };
Mike Buess Origin WebRing Member |
 |
|