10-18-2006 04:22 AM
10-18-2006 04:40 AM - edited 10-18-2006 04:40 AM
帖子被ttrr在10-18-2006 04:41 AM时编辑过了
10-18-2006 10:04 AM
10-18-2006 10:29 AM
@johnsold wrote:
Also, if you have more than one array autoindexing and the sizes of the first dimensions are different, I think the loop stops at the end of the smaller array.
More specifically, even if you wire N with a large number, a FOR loop will not loop more than the size of the smallest autoindexing array.
The loop count is determined by the smallest number of [all autoindexing array sizes, value wired to N (optional if autoindexing array inputs exist)].
One empty autoindexing array will cause skipping of the entire FOR loop.
(Sometimes it is useful to run a loop only for the first N elements of a large array. In this case you would autoindex the array, but wire a smaller number to N ;))