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

Re: v13 - array listbox column Compiler definition

2019-08-11 Thread Jeremy Roussak via 4D_Tech
Understood. I don’t think you can do what you want directly. How about this? - declare several arrays inside the component, of various types (text, longint, real…); - get the type of array being passed, using Type; - in a Case of block, set a pointer to whichever internal array matches the

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