Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

All user-defined variables must start with the $ character. 

It can be useful to know whether a variable is used in other expressions. As there is no way to check this, it is important to have a convention for naming variables.

  • These can be
    • local - only used in the current expression or expressions in the current attribute.
    • global - used in the expressions for other attributes in the same stream.
      For information on making $-variables reusable in an application, see
  • To distinguish between $-variables that are:
    • local only used in the current expression or attribute, use a lowercase first letter, for example $percent
      Local $-variables are only used in the current attribute.
      global use These may be called "local"
    • used in other expressions or attributes, use an uppercase first letter, for example $Percent
       Global $-variables are used in the expressions for other stream attributes..
    • global 
  • For multi-word names, use no spaces and camel case.

...