I usualy use it if I have to reference the number of rows in an array more than once. Otherwise I prefer ALEN(laFiles,1).
>ADIR() also returns the number of rows, so you could:
>
>
>lnFiles = ADIR(laFiles)
>FOR lnCounter = 1 TO lnFiles
>
>
< snip >
--sb--