Page 1 of 1

how to get value for global array string

Posted: 25 May 2025, 05:52
by woodslanding
my guess of GetGlobalArrayString doesn't work.

(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....

Re: how to get value for global array string

Posted: 01 Apr 2026, 20:15
by woodslanding
here I am needing it again.... a search only turns up the crickets from my first request ;D

Workaround in progress. maybe I'll check back next year....

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

Re: how to get value for global array string

Posted: 01 Apr 2026, 21:22
by oli_lab
Hi !
Can you explain what exactly you want to achieve so I can provide you with a patch ?
++
Olivar

Re: how to get value for global array string

Posted: 10 Apr 2026, 11:00
by oli_lab
Check this workspace :
set and get GA string.wkp
(114.17 KiB) Downloaded 13 times
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