[Laszlo-dev] swf9 and delete

Henry Minsky henry.minsky at gmail.com
Thu Feb 7 16:23:30 PST 2008


I think setting them to null would probably be best.

On Thu, Feb 7, 2008 at 6:18 PM, Philip Romanik
<promanik at laszlosystems.com> wrote:
>
>  Hi Henry,
>
>   From looking at the book it seems that delete is only appropriate
>  for arrays and dynamic instance variables. Since we're trying not to
>  use dynamic classes, can I remove lines like this from code (for swf9):
>
>      delete this.p;
>      delete this.data;
>      delete this.__LZlastdotdot;
>      delete this.context;
>      delete this.__LZtracking;
>
>
>  (These lines come from LzDatapointer)
>
>  Thanks!
>
>  Phil
>
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-dev mailing list