ArrayArrayArrayArray BrainModular BrainModular Users Forum 2026-04-10T11:00:52+02:00 https://brainmodular.com/forums/app.php/feed/topic/7363 2026-04-10T11:00:52+02:00 2026-04-10T11:00:52+02:00 https://brainmodular.com/forums/viewtopic.php?t=7363&p=46266#p46266 <![CDATA[Re: how to get value for global array string]]>
set and get GA string.wkp
what should be remember is :
- declare the GA with a unique name
- populate the GA with "set" modules
- get values with "get" modules
- be aware of the "pass if changed" switch inside the "get" modules
- avoid connecting anything to the GA declaration module, just leave it alone.

Usually, I put all the GA declaration modules in one same patch for code cleanliness

If you need multi-dimension arrays, you can explore putting an array inside a polyphonic subpatch
or use Json

Olivar

Statistics: Posted by oli_lab — 10 Apr 2026, 11:00


]]>
2026-04-01T21:22:05+02:00 2026-04-01T21:22:05+02:00 https://brainmodular.com/forums/viewtopic.php?t=7363&p=46258#p46258 <![CDATA[Re: how to get value for global array string]]> Can you explain what exactly you want to achieve so I can provide you with a patch ?
++
Olivar

Statistics: Posted by oli_lab — 01 Apr 2026, 21:22


]]>
2026-04-01T20:15:11+02:00 2026-04-01T20:15:11+02:00 https://brainmodular.com/forums/viewtopic.php?t=7363&p=46257#p46257 <![CDATA[Re: how to get value for global array string]]>
Workaround in progress. maybe I'll check back next year....

If this exists, it should be added to the manual.

Statistics: Posted by woodslanding — 01 Apr 2026, 20:15


]]>
2025-05-25T05:52:17+02:00 2025-05-25T05:52:17+02:00 https://brainmodular.com/forums/viewtopic.php?t=7363&p=45862#p45862 <![CDATA[how to get value for global array string]]>
(I'm using usine from last october while I wait for the authorisation for the new version, so let me know if this has been added since....)

Thanks!

Edit: talking about via script, btw....

Statistics: Posted by woodslanding — 25 May 2025, 05:52


]]>
BrainModular BrainModular Users Forum 2026-04-10T11:00:52+02:00 https://brainmodular.com/forums/app.php/feed/topic/7363 2026-04-10T11:00:52+02:00 2026-04-10T11:00:52+02:00 https://brainmodular.com/forums/viewtopic.php?t=7363&p=46266#p46266 <![CDATA[Re: how to get value for global array string]]>
set and get GA string.wkp
what should be remember is :
- declare the GA with a unique name
- populate the GA with "set" modules
- get values with "get" modules
- be aware of the "pass if changed" switch inside the "get" modules
- avoid connecting anything to the GA declaration module, just leave it alone.

Usually, I put all the GA declaration modules in one same patch for code cleanliness

If you need multi-dimension arrays, you can explore putting an array inside a polyphonic subpatch
or use Json

Olivar

Statistics: Posted by oli_lab — 10 Apr 2026, 11:00


]]>
2026-04-01T21:22:05+02:00 2026-04-01T21:22:05+02:00 https://brainmodular.com/forums/viewtopic.php?t=7363&p=46258#p46258 <![CDATA[Re: how to get value for global array string]]> Can you explain what exactly you want to achieve so I can provide you with a patch ?
++
Olivar

Statistics: Posted by oli_lab — 01 Apr 2026, 21:22


]]>
2026-04-01T20:15:11+02:00 2026-04-01T20:15:11+02:00 https://brainmodular.com/forums/viewtopic.php?t=7363&p=46257#p46257 <![CDATA[Re: how to get value for global array string]]>
Workaround in progress. maybe I'll check back next year....

If this exists, it should be added to the manual.

Statistics: Posted by woodslanding — 01 Apr 2026, 20:15


]]>
2025-05-25T05:52:17+02:00 2025-05-25T05:52:17+02:00 https://brainmodular.com/forums/viewtopic.php?t=7363&p=45862#p45862 <![CDATA[how to get value for global array string]]>
(I'm using usine from last october while I wait for the authorisation for the new version, so let me know if this has been added since....)

Thanks!

Edit: talking about via script, btw....

Statistics: Posted by woodslanding — 25 May 2025, 05:52


]]>