Hello,
Possibly I am missing something in my understanding of Chora data types:
Assume I have defined (as a brick derived from the GUI's Application:: class) a custom class holding multiple properties of simple data types (int32, string, bool). Now I instantiate, as a brick in the GUI, an array of that class.
Question 1:
Am I right to assume that this array won't receive any initialization values per default? This appears in contrast to simple properties that are, per default, initialized to 0. So I have to assign init values, otherwise I get an error message about accessing uninitialized array, right?
Question 2:
How do I assign initialization values to the individual array elements and the members contained therein? The "items" attribute of the brick appears to allow me to assign simple data values to simple data types, but not to arrayed members of custom classes, right?
Thanks,
Steffen