Schwee
Member
Still new to this approach to thinking and it gives me a headache.
Note that the # of items in the paragraphs and options arrays can and will vary. As far as I know...you can't store arrays within any data structures. Trying to think of a setup that will minimize data structures storing references to other data structures to keep my sanity. Thanks!
Code:
pages = [
0: {
paragraphs: [1, 2, 3],
options: [2, 4, 6, 7]
},
1: {
paragraphs: [18, 12],
options: [3]
},
2: {
...
},
...
]