In my code I have a lot of repetitions of almost the same code. Now I just copy them, but I was wondering if in AnyBody there is a possibility to write some kind of loop over the code in order to define all these objects in a few lines of code. I have been searching for it in the reference manual, but can’t seem to find something that could do this. Below an example of what I mean with the repetitions:
Here I used the Increment selection extension for VSCode. (and AnyScript extension for syntax highlighting). But Notepad++ has the same feature built-in (Press Alt-C to activate the column editor)