Page 1 of 1
Changed: no more #Memory ID for AllocateMemory() (3.89B1)
Posted: Thu Mar 18, 2004 6:57 pm
by Psychophanta
Who understand how to work now with several defined mem blocks?
Please explain.

Posted: Thu Mar 18, 2004 7:30 pm
by Christian
I think you have to work with the memory-adress. Just like this:
adr.l = AllocateMemory(Size)
And adr.l gets the adress ...
regards,
Christian
Posted: Thu Mar 18, 2004 9:44 pm
by Psychophanta
Yes, i think so, i begin to understand,
but how does work ReAllocateMemory()

Posted: Thu Mar 18, 2004 9:49 pm
by freak
for functions like ReAlocateMemory() or FreeMemory(), just pass the
pointer you received from AllocateMemory().
(in the above example, that would be 'adr.l' )
Timo