メインコンテンツまでスキップ
バージョン:25.2

counter

Function

Returns the iteration count of the innermost repeat loop being executed.

Synonym for the repeatIndex.

Example:

repeat 3 times
put the counter
end repeat

Output:

1

2

3

History

  • Added in SenseTalk 1.61.