RE: lingo-l Re: purging memory
At 17:16 -0400 04/15/2002, Cole Tierney wrote: The documentation on this property changed between Director 6 and Director 8 in both the help system and in the lingo dictionary. Specifically in the example usage. How do we know which is correct? I'd say the docs for 8 are correct for 8+. What's happening with earlier versions I can't say for sure. You'd have to try tests, I suppose. The pP docs for Dir7 are weird too, not a rephrase of the docs for 6. I suspect the way the 8 docs have it is the way it works with 6 too; that is, I believe the Dir6 docs are in error regarding pP. I say again, in error regarding pP. I know this sounds rather incredible. Here's my take on it based on the 7 and 8 docs: pP 3 (default) -- Dump whenever you feel like it pP 2 (Next) -- Dump only after pP3 is gone pP 1 (Last) -- Try to keep this in memory if at all possible pP 0 (Never) -- Never dump By default all cast members imported into Director have a purgePriority of 3. Even in 6, if I recall properly. That would imply that this is always the way it has worked and the docs were simply miswritten for this command in early editions. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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!]
Re: lingo-l Re: purging memory
Micheal, if pSprite.membernum pEndMember then pSprite.membernum = pSprite.membernum + 1 unloadMember member pSprite.membernum - 1 end if I would suggest adding the following after the unload statement: set the purePriority of member pSprite.membernum - 1 = 2 I still think next means next to be purged. Let me know if this helps, so I can be convinced otherwise :) Cole [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!]
RE: lingo-l Re: purging memory
No, next doesn't mean next to be purged, it means that it's the next highest priority of purging after all the cast members whose purge order is set to normal are purged. Charlie Fiskeaux II Media Designer The Creative Group http://www.cre8tivegroup.com 859/858-9054x29 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cole Tierney Sent: Monday, April 15, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: Re: lingo-l Re: purging memory Micheal, if pSprite.membernum pEndMember then pSprite.membernum = pSprite.membernum + 1 unloadMember member pSprite.membernum - 1 end if I would suggest adding the following after the unload statement: set the purePriority of member pSprite.membernum - 1 = 2 I still think next means next to be purged. Let me know if this helps, so I can be convinced otherwise :) Cole [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!]