Reserved Variables

Special variables reserved by Murex

In Murex, there are five different classes of variables:

  1. Local variables (scope limited to a function et al)
  2. Module variables (scoped to a module)
  3. Global variables (available to every function within Murex but not shared with processes outside of the Murex’s runtime)
  4. Environmental variables (available to every function and process – internal and external to Murex)
  5. Reserved variables

Reserved variables are data that are available to any code running within Murex and exposed as a variable.

Reserved variables are called reserved because they are read only.

Reserved variables are often also dynamic, returning different values based on contextual circumstances.

» set SELF="foobar"
Error in `set` (0,1): cannot set a reserved variable: SELF

See Also


This document was generated from gen/user-guide/reserved_vars_doc.yaml.

This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Wed Jan 15 23:07:50 UTC 2025 against commit b4c4296b4c429617fd41527ea0efef33c52c15ef2b64972.

Current version is 6.4.2063 (develop) which has been verified against tests cases.