MemorySize()

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

Little John
Addict
Addict
Posts: 4810
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

MemorySize()

Post by Little John »

This post is based on the documentation of PB 6.21 and PB 6.30 beta 4.
There is a contradiction between the help for ReceiveHTTPMemory() and the help for MemorySize().
ReceiveHTTPMemory()

Return value

Returns the new memory buffer address if the download was successful, zero otherwise. MemorySize() can be used to get the size of the downloaded item.
MemorySize()

Parameters

*MemoryID:
The address of the memory area to get the size from. This must be a value returned from either AllocateMemory() or ReAllocateMemory() or Ascii() or UTF8().
I think in the help of MemorySize(), also ReceiveHTTPMemory() should be mentioned as valid source of the respective address.