Unfortunately you can only have one object_1.
You can have as many object_2 as you want but they will all follow the parameters of object_1
This is where the GLOB_USER variables will be very restrictive because there are only 10 numeric variables available (and another 10 string variables which I think can be used for numbers as well).
You will have a similar problem with the text output although you will have much better control of what you can output to and read from the file.
You could add some control to object_1 to say output to variables 1,2 & 3 or variables 4, 5 & 6 (7,8 & 9 etc.) - assuming you are controlling 3 variables - it could be any number.
i.e. add a parameter to say use variables 'group 1' or 'group 2' or 'group 3' etc.
The object_2 you can tell it to read 'group 1' or 'group 2' or 'group 3' etc.
But I really think you could get into a terrible mess - especially if you want other people to use your objects.
If you only have one object_1 then it is pretty straight forward as you can have as many object_2 as you want react to it.
More difficult if you have more object_1 as they need to output to different variables and then you have to tell each object_2 which variables to read.
I hope I have explained this clearly enough (it has been a long day).
If you want more than one object_1 then I probably would not try this with GDL.
Maybe it will work with an API add-on if you can create a link between objects but I don't know as I have no idea about coding add-ons.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11