I want to use an open array with a variety of types (ex: ['string',12,123.21]). During my search, I’ve found two ways to do that. One is with array of TVarRec and the other is using varArray. I’m thinking that the array of TVarRec is the best choice, because it appears to be more lightweight, on the other hand the varArray already have some implementations that I’ll have to create if I want to use arrays of TVarRec.
Does someone have any opinions about the usage of these two ways?
Maybe you could use an
array of Variant?