| To: | REALbasic Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | reusing memoryblocks |
| From: | Leonardo <prepres1 at bellsouth dot net> |
| Date: | Sun, 29 Feb 2004 21:52:38 -0500 |
Is it OK to re-initialize a memoryblock on each iteration inside a
loop, or could this create a problem?
Example:
While condition
..
GetRequiredBlockSize
myMem = newMemoryblock(RequiredBlockSize)
DoSomethingWithMyMem
..
Wend
Should I NIL myMem just before Wend?
RB 5.2.4, OS9.2.2
Thanks!
Leonardo Borsten
http://www.prepressmiami.com
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Import text file as project item?, Albert Wallace |
|---|---|
| Next by Date: | Re: Import text file as project item?, Will Leshner |
| Previous by Thread: | Base window control for Composite views?, James Milne |
| Next by Thread: | Re: reusing memoryblocks, Christian Schmitz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |