#item Full Description |
|
Syntaxnumeric expression: #item format item: %format_item(#item) Purpose A built-in counter that contains the index of the current iteration of a
The As a predefined shelf, Usage example:
local switch flags variable ... repeat over flags do select #item case 1 output "1st flag is " case 2 output "2nd flag is " case 3 output "3rd flag is " case 4 to 20 output "%d(#item)the flag is " else output "Flag number %d(#item) is " done do when flags output "on.%n" else output "off.%n" done again |