12-02-2020, 02:09 PM
Can we have a region function that creates a region from an array of integers? Like (sites <intArrayFunction>).
The same effect could be achieved with (forEach) and a boolean function (all Values <intArrayFunction> if:<boolean>), which would be nice, but the first suggestion is cleaner.
The reason I need it is because of a clash between the reference of (value) when having (forEach Value) inside (forEach Value). I need it to mean two different things in the same context. I can circumvent it by using (forEach Site (sites <intArrayFunction>)) for one of them, so I can refer to the different contexts with (value) and (site).
The same effect could be achieved with (forEach) and a boolean function (all Values <intArrayFunction> if:<boolean>), which would be nice, but the first suggestion is cleaner.
The reason I need it is because of a clash between the reference of (value) when having (forEach Value) inside (forEach Value). I need it to mean two different things in the same context. I can circumvent it by using (forEach Site (sites <intArrayFunction>)) for one of them, so I can refer to the different contexts with (value) and (site).