Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

QuickList.Reserve

Reserves memory for a list of given size.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 4.4 Yes Yes Yes Yes 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 Xojo Plugins