I tried running your scripts and it fine for me (i.e. Used by program memory
stayed constant). Are you sure your actorlist is being cleared? Try put the
watcher on it. In my case it is working as expected, I see the "List" parent
script being repeatedly instantiated and cleared. Maybe you have some stray
code that is repeatedly adding objects to your list and not clearing them?

By the way it seems kind of odd that you'd use a stepframe to constantly
update information that only changes once a day.

ck

>
> Im just wondering, I wrote this little parent script and it
> keeps using ram.
> When I look at the memory Inspector the USED BY PROGRAM
> memory keeps going
> up by 5k every second or so? ex... 6015k, 6020k to 6025k ... why?
> At the end of the stepframe I called  --  the actorlist = []  -- ????
> I thought by puring the actorlist it would solve this proplem?
>
> here is the script:
>
> -- start frame script
> on exitFrame me
>   go the frame
>   new(script "list")
> end
> -- end frame script
>
>
>
> -- Start parent script
> on new me
>   add the actorlist, me
> end
>
>
>
> on stepframe me
>
>   today = the systemDate
>   tm = today.month
>   td = today.day
>   ts = today.year
>
>   tm1 = string(tm)
>   td1 = string(td)
>   ts1 = string(ts)
>
>
>   member("theMonth").text = tm1
>
>   member("theDay").text = td1
>
>   member("theYear").text = ts1
>   the actorlist = []
>
>
> end
> -- end parent script
> thanks,
> Matt
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>
>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to