>Does anyone know of a way to copy an object in its
>entirety?
>The following method only copys a reference to an
>object:
>x=CREATEOBJECT("form")
>y=x
>
>Y and x both point to the same object! It would
>sure be nice
>if there was a way to do something like the
>following:
>x=CREATEOBJECT("form")
>y=COPYOBJECT(x)
>
>or
>
>x=CREATEOBJECT("form")
>y=CREATEOBJECT("form")
>=COPYOBJECT(y,x)
>
>These features are readily available in languages
>such
>as C++ where there is more of a distinction
>between
>reference and instance.
Peter
I am missing something. Doesn't this copy an instance of an object (basically copying an object)?:
x=CREATEOBJECT("form")
y=CREATEOBJECT("form")
You now have 2 copies of the object 'Form'. What am I missing?
Tom