Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

QuickList.Reserve

Reserves memory for a list of given size.

Component Version macOS Windows Linux Server iOS SDK
List 4.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "QuickList.Reserve"; ListRef; Size )   More

Parameters

Parameter Description Example
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

Blog Entries

This function checks for a license.

Created 21st September 2014, last changed 18th December 2015


QuickList.RemoveValue - QuickList.Reverse