Is there a function "out there" that would enable me to copy the contents of one array element (including multiple fields) to another. For example:
type tObject
file$
id
x#
z#
endtype
dim objects(2) as tObject
`pseudo code, something like:
objects(2) = objects(1)
I am trying to avoid this:
objects(2).file$ = objects(1).file$
objects(2).id = objects(1).id
objects(2).x# = objects(1).x#
objects(2).z# = objects(1).z#
I was using Ian's Matrix ArrayPtr and peek/poke functions; however, dealing with multiple string fields has been a pain.
Thanks