If I am making multiple calls to a method and passing parameters via a
C_OBJECT, is their any memory issues using New object. For example…
$printedHeight:=Timesheets_BuildReport (New
object("line";"employeeLine1";"employee";$employeeName;"taskdate";!2017-01-02!))
$printedHeight:=Timesheets_
John:
Objects respect scope so they don't have to be explicitly cleared. That's
different than an hList or our favorite word processor. :-)
Also, 4D uses "ref counting" when it works with C_Object so that makes them
even more memory efficient.
--
Douglas von Roeder
949-336-2902
On Fri, Dec 15
Thanks Doug. My mind can rest easy now. I think I sweat the small stuff too
much on occasion.
John
> On Dec 15, 2017, at 6:51 AM, Douglas von Roeder via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> John:
>
> Objects respect scope so they don't have to be explicitly cleared. That's
> different
John:
We spend a lot of time thinking "OK, but if…" so I see that as being part
of the job.
As I told a client of mine who's a big college football fan:
"Football is a game of inches that makes heroes. Programming 4D just
creates neurotics."
:-)
--
Douglas von Roeder
949-336-2902
On Fri, De
4 matches
Mail list logo