DCode

Covers Engine 2.0.0

set channel

Acquire or retain observe-only publishing, optionally writing a value. Without an eligible local owner, or for a remote channel, a supplied value is an ordinary upsert and an omitted value does nothing. Local transition/write rejection changes neither authority nor value.

Syntax

set |channel| [= <value>]

Available in

  • File scope
  • Executable DCode bodies

Example

set |channel| = value