General::iterb

Details

  • This message is generated when an iterator specification includes an invalid lower limit, upper limit, or step size.
  • Iterators are used in Do, Table, Sum, Product, and other functions that perform explicit iteration.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[General::iterb].

Examples

Basic Examples  (2)

An error occurs because the limit does not evaluate to a real number:

This shows a valid iteration specification in Table:

An error occurs because the iteration bound is not a real number and so cannot be reached using the default step size (the default step size is 1):

This shows a valid iteration specification using a complex step size: