From: Jan Simon on
Dear Mike!

> The point of the post was to see if there was a relatively quick and efficient way to initialize the struct, where adding a bunch of extra lines of code (and nested for loops), although effective, somewhat defeats my original purpose.

A bunch of extra lines are valuable and efficient, if they avoid an error! :-)

I've outsourced the lines for inserting the fields to a function called AddStruct. Then the code is shorter, but the overhead for calling the function is reducing the efficiency.

Good luck, Jan