The $loop variable is incremented on every iteration of a LOOP, SQL, TIMPORT, WHILE, READLN or fetch block, starting with 0. For LOOP, it starts with the number of SKIPped values instead. After the loop block ends, $loop is the number of iterations (plus the SKIPped values for LOOPs).

Copyright © Thunderstone Software     Last updated: Sep 25 2019
Copyright © 2020 Thunderstone Software LLC. All rights reserved.