Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Array element names

Array element names are made up of the following components:

  • array name (<composed-variable-name 1..253>)

  • # (identifier for array elements when followed by additional characters)

  • array index (<integer -2147483648..2147483647>)

Both the list index and the array index can also be identified by a simple variable that contains an integer value within the range of valid values.

SDF-P analyzes the string that follows the aggregate symbol # in the element name: If the first character is a digit or hyphen (= minus sign), the string is interpreted as an integer value, i.e. as a direct entry of the index.

If the first character is a letter, the string is interpreted as a variable name. SDF-P then searches for a variable with the specified name. This name must refer to a simple variable, which must be initialized with a valid integer value. If this is not the case, an error message is issued. If the variable contains a valid integer value, this value is used in the array index or list index, and the aggregate element thus identified is accessed.