NewMemoryBlock
From REALbasicWiki
| Overall article skill | ✭ |
NewMemoryBlock returns a MemoryBlock of the specified size, if possible. Otherwise, it returns nil.
[edit] Prototype
Function NewMemoryBlock(size as Integer) as MemoryBlock
[edit] Sample Code
dim m as MemoryBlock = NewMemoryBlock(1024)
if m <> nil then
//proceed apace
else
//NewMemoryBlock failed
end if
