General::altno

Details

  • This message is generated when the tag for an assignment appears within an Alternatives pattern.
  • Assignments for tags within Alternatives are not supported. The same effect can be achieved using separate assignments.
  • The notation p1|p2|p3 is equivalent to Alternatives[p1, p2, p3].
  • When this message is generated, the assignment is not made.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[General::altno].

Examples

Basic Examples  (1)

The assignment tags occur within an Alternatives pattern on the left-hand side of the assignment:

Rules for these symbols can be introduced using separate assignments:

Clear the rules: