Set::shape SetDelayed::shape

Details

  • This message is generated when corresponding lists or sublists on opposite sides of an equation do not have the same length.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[Set::shape].

Examples

Basic Examples  (1)

An error occurs because the list on the right side of this assignment does not have the same length as the list on the left side of the assignment:

This shows a valid assignment:

Clear the assigned values: