PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Add item into associative array of array
Add item into associative array of array
Iniciado por guest, 08,sep. 2015 09:04 - No hay respuesta
Publicado el 08,septiembre 2015 - 09:04
I have aaObjects is associative array of array of SomeObject dynamic
I need do a simple action - to fill collection stored in item of associative array but I can't.

My code is enough simple but it does not work:

CurrentSomeObject is SomeObject IF aaObjects[Key]..Empty // create a key aaInnerCollection is array of SomeObject dynamic aaObjects[Key] = aaInnerColletion END ArrayAdd(aaObjects[Key],CurrentSomeObject)

The object does not added, i.e. content of item of associative array is not changed.
What I do wrong?