Skip to main content

Identifiers

Identifiers are names. In SFHub, identifiers are used to name variables, keywords, functions, enumerators and attributes. Identifiers must adhere to the following rules:

  • The identifier starts with $, it's an Element variable

  • The identifier starts with $$, it's an analytic variable

  • The identifier starts with _, it's an Element discard variable

  • The identifier starts with __, it's an Analytic discard variable

  • The identifier starts with a number, or starts with -- followed by numbers, it's a number

  • The identifier starts with {, it's a keyword

  • The identifier starts with ', it 's a string

  • In all other cases the identifier is an Attributes

Identifiers cannot contain the following characters:

  • Hyphens are not allowed, they are reserved for subtractions
  • Colons are not allowed, they are reserved for Keywords
  • Exclamation points are not allowed, they are reserved for Unit of Measure conversion
  • Graph brackets are not allowed, they are reserved for Keywords
  • @ signs are not allowed, as they are reserved for remainder operators
  • Square brackets are not allowed, they are reserved for Table/Table Row/List/Dictionary access