SetOptions::sstm

Details

  • This message is generated when the first argument in SetOptions is not a symbol or a stream.
  • Options can only be set for symbols or for stream expressions.
  • A stream expression is an expression with a head of InputStream or OutputStream that represents a channel for input or output.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[SetOptions::sstm].

Examples

Basic Examples  (1)

An error occurs because the first argument in SetOptions is a rule:

This shows a valid use of SetOptions to change the options of a symbol:

Clear the options of var: