Versions Compared

Key

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

...

Multi-word stream attribute and pipe names should be in camel case.

Excerpt
  • All user-defined variables must start with the $ character. 
  • For multi-word variable names, use no spaces and camel case.
  • 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
  • we recommend using the following naming convention:
  • To distinguish between $-variables that are:
    • only used in the current expression or attribute, use a lowercase first letter, for example $percent
      These may be called "local"are sometimes called local.
    • used in other expressions or attributes, use an uppercase first letter, for example $Percent.
    • global 
    For multi-word names, use no spaces and camel case.
    • These are sometimes called global


Examples
stream attributeMainCompanyName
pipeinPipe
global $-variable$CompanyLocationCounter
local $-variable$companyOldAddress

...