OpenersNotesSection(Spacer1)Details

This message is generated when a number or a string is used as an iteration variable.

Iteration variables are used in functions such as (RefLink[Table, paclet:ref/Table]) and (RefLink[Sum, paclet:ref/Sum]) that do explicit iteration.

(RefLink[Off, paclet:ref/Off])[message] switches off the message; (RefLink[On, paclet:ref/On])[message] switches it on. For example: (RefLink[Off, paclet:ref/Off])[General::itraw].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

A number cannot be used as an iterator:

Table[k,{5,10}]

This shows a valid iteration specification in (RefLink[Table, paclet:ref/Table]):

Table[k,{k,5,10}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[General, paclet:ref/General])}})}})