Inputs
Here you select how the array is to be structured. As the values entered in the array must be sorted into a consecutive index number, you can choose here whether each numerical value should have its own index (Indexes Mode) or whether two values should be combined in one index (Indices Pair Mode). The latter is the correct mode for describing an edge selection, for example, in which an edge to be selected is described by specifying the two point numbers at the start and end of the edge.
Enter the values here, separated by commas. For example, the input 10, 12, 20-25 in Indexes Mode results in an array with a total of eight entries for the values 10, 12, 20, 21, 22, 23, 24 and 25.
You can therefore describe contiguous number ranges simply by specifying the start and end number and placing a minus sign between them.
Another option is to use the count and default commands. count specifies the total number of values to be written to the array. 'default' stands for the default value, which is written to the array as often as specified for 'count'. In a second step, you can then assign different values to individual elements of this array by writing the index number of the element in square brackets followed by the value for this index. Here is a small example:
count 5, default 2, [3]17 becomes an array with these entries: 2, 2, 2, 17, 2
As the counting method in an array already starts with 0, the value '17' appears in the fourth position of the array and replaces the value '2', which is otherwise used as the default.
In Indices Pair Mode, two values are managed in an array index. This is necessary because an edge can only be addressed by the indices of the start and end points. The input '0-1, 0-2' would then be able to select the two edges that run between the points with the index numbers '0' and '1' or '0' and '2', for example. An alternative notation for index pairs also allows the use of the underscore, as here '0_1, 0_2'
