DataInRange

graphics/plugins_datainrange-icon.png

DataInRange plugin is used to convert a range of values into a single value. The value received in the Field name parameter is compared to the defined values in the Range Descriptions parameter. If the input value is found in one of the ranges it is converted to the value assigned to the range and the result is set in the Result Field Name.

Note: Range values must be numeric values.

graphics/plugins_datainrange.png
Unique Parameters
  • Result Field Name: Defines the name of the DataPool variable that the result of the range conversion is assigned to.

  • Result Field Scope: If set to Local, the Result Filed Name value is defined as part of a DataPool structure used in an object. If defined as Global, the Result field is defined as a regular data field.

  • Range Descriptions: This parameter contains the different ranges. A range is defined inside brackets, with minimum and maximum values separated by comma. When a round bracket (opening or closing the range), the value next to it is not included in the range (but limiting the range). When square brackets are used the values are included in the range.

Example

In the following line the range of numbers between 1 and 10, excluding 1 and including 10, will be converted to the text "Little Numbers":

(1,10] = Little Numbers;