Re: How to clear an object?

2019-08-11 Thread Kirk Brooks via 4D_Tech
Jorg, If you are using $MyGreatObj in a loop or some situation where you are reusing it you can also do: For each ($MyGreatObj; $someDataStructure) $MyGreatObj:=New Object $myGreatObj:= $someOtherObj.greatProp:=$MyGreatObj End for each Remember that unlike other reference items from the pas

Re: How to clear an object?

2019-08-11 Thread Christian Sakowski via 4D_Tech
> OT Clear ($MyGreatObject). CLEAR VARIABLE -- Grüße/Regards, [heubach-media] | Christian Sakowski christian.sakow...@heubach-media.de Tel: +49/(0)40/41 455 455 > Am 11.08.2019 um 10:03 schrieb Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com>: > > Happy Sunday to all, > > Just wondering how

How to clear an object?

2019-08-11 Thread Jörg Knebel via 4D_Tech
Happy Sunday to all, Just wondering how would one clear/delete/vaporise a 4D object (Language): C_Object($MyGreatObject) $MyGreatObject:= New Object $MyGreatObject:=Get system info // playing around with the object Now I want to clear/vaporise the object before I go on, but not set all the pr