Jörg,
I would suggest you use New Object again, assuming you want the object
to still exist but just be empty.
C_OBJECT($MyObject_o;$MyOtherObject_o)
$MyObject_o:=New object("Wombats";"Are Cute")
$MyOtherObject_o:=New object("Echidnas";"Are NOT cuddly")
$MyObject_o:=New object
// $MyObject_o is {}
CLEAR VARIABLE($MyOtherObject_o)
// $MyOtherObject_o is Null
$MyOtherObject_o.Platypodes:="Are also egg laying monotremes"
// This will give an error Undefined Object
$MyObject_o.Koalas:="Are the Wombats of the trees."
// This won't give an error
Regards,
Wayne
On Tue, 24 Sep 2019 at 10:27, Jörg Knebel via 4D_Tech
<[email protected]> wrote:
>
>
>
> > On 24 Sep 2019, at 10:21 AEST, Randy Engle via 4D_Tech
> > <[email protected]> wrote:
> >
> > Clear Variable (object)
>
> Arrrgh, that’s it - Thanks
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive: http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************