structure arrays with different structures [message #81384] |
Sat, 08 September 2012 18:08 |
Søren Frimann
Messages: 13 Registered: November 2010
|
Junior Member |
|
|
Hi all,
I'm having some data that's gathered together in different structures and arrays, and I want to collect everything in a structure array in this manner:
struct_template = { name:'', select:{} , obs:dblarr(2,100)}
I want to put my data into struct_template, with name being a string, select being another structure, and obs being an array.
I then want to make an array of structures using struct_template, but naturally with different sets of data.
The issue is that the select structure does not always have the same skeleton, nor does the obs array always have the same size.
The question basically is if there's any way of making an array of structures with the structures sharing the same keys, but with the values having different 'skeletons'
I hope I'm making sense
Cheers,
Søren
|
|
|