Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

QuickList.Reserve

Reserves memory for a list of given size.

Component: List
Version: 4.4
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "QuickList.Reserve"; ListRef; Size )

Parameters

Parameter Description Example value
ListRef The reference to the list returned from QuickList.New function. $List
Size The new size in entries.
So passing 100 will make sure we have space for 100 list entries at least. If more are added, the list grows automatically.
100

Result

Returns OK or error.

Description

Reserves memory for a list of given size.
To ensure upfront that enough memory is available.
This will not change the count, just preallocate memory.

See also


QuickList.RemoveValue   -   QuickList.Reverse

Feedback: Report problem or ask question.




Links
MBS Realbasic PDF Plugins - Pfarrgemeinde Ministranten Nickenich