IndexAfter (FPScript)
Performs a sequential operation for two index data sets.
Syntax
IndexAfter(Index1, Index2)
The syntax of the IndexAfter function consists of the following parts:
Part |
Description |
---|---|
Index1 |
The first index data set with ascending indices or 2D indices. Permitted data structures are data series und data matrix. All real data types are permitted. |
Index2 |
The second index data set with ascending indices or 2D indices. Permitted data structures are data series und data matrix. All real data types are permitted. |
Remarks
The result always has the data type 64-bit integer.
Before the combination, the data are converted into 64-bit integers, if applicable. The two data series to be combined must contain values greater than or equal to zero that are sorted in ascending order. The result is a data series or data matrix with indices from Index1 which come after an index from Index2.
If the argument is a list, then the function is executed for each element of the list and the result is also a list.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
IndexAfter({2, 7, 8, 9, 15, 17, 22, 24, 29}, {0, 5, 12, 13, 15, 19, 26 }) |
Results in {2L, 7L, 17L, 22L, 29L}. Note that 15 is not output because it is present in both data sets. |