Note: In the above example, the length integer is declared, callingllGetListLength a single time, rather than calling it within the for loop. As this forum thread discusses, doing it this way results in a much faster loop.