Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
QuickList.Push
Pushes a value to the end of the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "QuickList.Push"; ListRef; Text ) More
Parameters
Parameter | Description | Example |
---|---|---|
ListRef | The reference to the list returned from QuickList.New function. | $List |
Text | The text to add. | "Hello" |
Result
Returns OK or error.
Description
Pushes a value to the end of the list.Examples
Trying push:
Set Variable [$list; Value:MBS( "QuickList.New" )]
Set Variable [$r; Value:MBS( "QuickList.Push"; $list; "Hello" )]
Set Variable [$r; Value:MBS( "QuickList.Push"; $list; "World" )]
Show Custom Dialog ["List"; MBS( "QuickList.GetList"; $list )]
Set Variable [$r; Value:MBS( "QuickList.Release"; $list )]
See also
- QuickList.Count
- QuickList.Find
- QuickList.GetList
- QuickList.List
- QuickList.New
- QuickList.Pop
- QuickList.PopFirst
- QuickList.Release
- QuickList.Sort
- QuickList.Trim
Example Databases
This function checks for a license.
Created 2nd August 2015, last changed 14th December 2023